Use Cloudron email for sending email (smtp) on application hosted outside Cloudron
-
wrote on Dec 13, 2020, 2:48 AM last edited by girish Dec 13, 2020, 6:08 PM
Hi. I have this need of using Cloudron email as and email server (smtp email relay/sending email) on application outside Cloudron. I have follow guide in here : https://docs.cloudron.io/email/#smtp
In the application i have setup smtp config as follow :
Driver : smtp
Host : my.xxx.yyy (my main cloudron domain)
Port : 587
User : abc@xxx.yyy (i have created this mailbox in the cloudron email setting)
Password : My Cloudron password where my user assign to the mailbox as owner
Encryption : STARTTLSBut when i test sending email, it says failed.
I tried send and recieve email from roundcube it works fine.
I need this to replace gmail smtp email relay using less secure app setting (on).
Is there anyone face this problem before?
-
Hi. I have this need of using Cloudron email as and email server (smtp email relay/sending email) on application outside Cloudron. I have follow guide in here : https://docs.cloudron.io/email/#smtp
In the application i have setup smtp config as follow :
Driver : smtp
Host : my.xxx.yyy (my main cloudron domain)
Port : 587
User : abc@xxx.yyy (i have created this mailbox in the cloudron email setting)
Password : My Cloudron password where my user assign to the mailbox as owner
Encryption : STARTTLSBut when i test sending email, it says failed.
I tried send and recieve email from roundcube it works fine.
I need this to replace gmail smtp email relay using less secure app setting (on).
Is there anyone face this problem before?
@andirahmat Your settings seem correct. Does the app have any error logs?
-
@andirahmat Your settings seem correct. Does the app have any error logs?
wrote on Dec 14, 2020, 3:35 AM last edited by andirahmat Dec 14, 2020, 4:05 AM@girish I could not find error log related email. There is no error log on the apache.
I tried send and recieve email from roundcube it works fine on cloudron.Can I use TLS as encryption on cloudron email server? Because when i use gmail as smtp with TLS it works fine. Or is it possible the app does not support STARTTLS.
-
wrote on Dec 14, 2020, 7:42 AM last edited by
What app are we talking about?
-
I am assuming it's a custom app. @andirahmat is it not your app? If so, why can't it log why it can't send mail?
-
I am assuming it's a custom app. @andirahmat is it not your app? If so, why can't it log why it can't send mail?
wrote on Dec 14, 2020, 10:34 PM last edited by@girish yes I'm trying to contact the developer about the mail log.
-
@girish yes I'm trying to contact the developer about the mail log.
@andirahmat You can test this with swaks.
swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
-
@andirahmat You can test this with swaks.
swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
wrote on Dec 17, 2020, 6:00 PM last edited by@girish said in Use Cloudron email for sending email (smtp) on application hosted outside Cloudron:
@andirahmat You can test this with swaks.
swaks -server my.xxx.yyy:587 -tls --auth-user abc@xxx.yyy --auth-password password --to test@somemail.com --from abc@xxx.yyy
I've tried this command and works well. The problem is the app, still waiting for the developer response. Thank you @girish
-