You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started the application and tried registering a new user so I could log in. Upon creating a new account, I am displayed with a message that the registration link has been sent to me. But I have never received the registration email.
Since emails are sent via postal library, one thing that might be the problem is that I am running the application from my local machine and the mode used for sending emails in Salava (ns salava.core.mail) is set to local. From the Postal Github page:
... [local] will locally inject the message into whatever sendmail-compatible interface your system provides.
I am not sure how technically this works, but I think the problem is that my machine does not fulfill this prerequisite.
If I change manually in the salava.core.mail namespace function send-mail to look like something like this (I will redact my AWS email server credentials with # sign), email sending will work. Similarly, you can set up any other SMPT server to send emails from (e.g. Gmail).
Is there any other way to enable email sending or you think it makes sense to expand send-mail function (as per my example) and the config file resources/config/core.edn to include SMTP account details?
The text was updated successfully, but these errors were encountered:
I have started the application and tried registering a new user so I could log in. Upon creating a new account, I am displayed with a message that the registration link has been sent to me. But I have never received the registration email.
Since emails are sent via postal library, one thing that might be the problem is that I am running the application from my local machine and the mode used for sending emails in Salava (ns salava.core.mail) is set to local. From the Postal Github page:
I am not sure how technically this works, but I think the problem is that my machine does not fulfill this prerequisite.
If I change manually in the salava.core.mail namespace function send-mail to look like something like this (I will redact my AWS email server credentials with # sign), email sending will work. Similarly, you can set up any other SMPT server to send emails from (e.g. Gmail).
Is there any other way to enable email sending or you think it makes sense to expand send-mail function (as per my example) and the config file resources/config/core.edn to include SMTP account details?
The text was updated successfully, but these errors were encountered: