Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples with popular email programs #42

Open
tacman opened this issue Jul 9, 2024 · 2 comments
Open

Examples with popular email programs #42

tacman opened this issue Jul 9, 2024 · 2 comments

Comments

@tacman
Copy link
Contributor

tacman commented Jul 9, 2024

I keep trying with gmail and zohomail but can't connect. Either I have to enable something on the providers, or I'm not configuring this right. Any suggestions? An example with gmail (without the password, of course) would be helpful. And even recommendations of an email provider, I need to receive some emails will need to set up a new account for this anyway.

Thanks.

imap:
    connections:
       gmail:
         imap_path: "{imap.gmail.com:993}INBOX"
         username: "[email protected]"
         password: "<password>"

      zoho:
            imap_path: "{imappro.zoho.com:993}INBOX"
            username: "[email protected]"
            password: "<password>"
            attachments_dir: "%kernel.project_dir%/var/imap/attachments"
            create_attachments_dir_if_not_exists: true # default true
            created_attachments_dir_permissions: 777 # default 770
            server_encoding: "UTF-8"

+------------+-----------------------------------------------------------+-----------------------------+----------------------+---------+
| Connection | Connect Result | Mailbox | Username | Enabled |
+------------+-----------------------------------------------------------+-----------------------------+----------------------+---------+
| zoho | FAILED: [CLOSED] IMAP connection broken (server response) | {imappro.zoho.com:993}INBOX | [email protected] | YES |
+------------+-----------------------------------------------------------+-----------------------------+----------------------+---------+
Total connections: 1

@tacman
Copy link
Contributor Author

tacman commented Jul 9, 2024

I was able to get it to work with gmail by changing the config and signing up for an app password:

      gmail:
        imap_path: "{imap.gmail.com:993/imap/ssl}INBOX"
        username: "[email protected]"
        password: "<app-password>"

@secit-pl
Copy link
Owner

Feel free to contribute and add the examples to the documentation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants