YAFLogo

Posted by: tstallan - Thursday, 23 January 2014 13:50:58
Hi Folks, I have installed YAF on my DNN 7 site and it works great....except it will not send emails. When I look in the logs I can see that it tries to send the emails but fails. The error message (relaying not allowed) leads me to believe that when the email are being sent the SMTP Username/Password within the DNN Host settings are being ignored. I only get the "Relaying Denied" message from my mail server when trying to send emails without using authentication. I have tested the DNN SMTP settings many times and I know that the information is correct. Anyone have any ideas, suggestions. Many thanks in advance for any help given. Regards Tony

Posted by: tha_watcha - Saturday, 1 February 2014 18:20:50
[quote=tstallan;62535]Hi Folks, I have installed YAF on my DNN 7 site and it works great....except it will not send emails. When I look in the logs I can see that it tries to send the emails but fails. The error message (relaying not allowed) leads me to believe that when the email are being sent the SMTP Username/Password within the DNN Host settings are being ignored. I only get the "Relaying Denied" message from my mail server when trying to send emails without using authentication. I have tested the DNN SMTP settings many times and I know that the information is correct. Anyone have any ideas, suggestions. Many thanks in advance for any help given. Regards Tony[/quote] I assume that you are using the latest yaf version? in that case the yaf module uses the dnn settings and dnn itself to send all emails. Did you setup for the yaf board the same email address as used in dnn? looks like the mail addresses are different and causing the error message.

Posted by: tstallan - Friday, 28 March 2014 14:10:40
Hi, I just upgraded my Yaf to the latest version and I am still having this problem. The forum does not send any emails. During the YAF upgrade process I tried the "Test SMTP Settings" and the message says an email was sent successfully, however that email never arrived and there was an error in the DNN Event Viewer with the "relaying not allowed" message The sending email in YAF is the same as in the DNN host settings and I have tested the DNN SMTP settings several times using different modules, including password resets. In every case the emails get sent correctly so the DNN SMTP settings are correct The "relaying not allowed" message would only appear if the email is being sent without authentication, my mail server requires authentication when sending emails. I would love to get this resolved as it is stopping me from using YAF as my user are not getting updates of postings Regards Tony

Posted by: tha_watcha - Friday, 28 March 2014 14:29:36
Are you using dnn 7.2? There is a known issue in that version with yaf because dnn encrypts the SMTP password. This issue will be fixed in 2.1.2, which hopefully will be released on the weekend.

Posted by: tstallan - Friday, 28 March 2014 16:15:55
Hi, Thanks for the quick response Yes I am using 7.2 I will keep an eye out for the next upgrade. Regards Tony

Posted by: Mariette - Tuesday, 20 December 2016 17:41:18
It seems that YAF or DNN uses the SMTP username as the From address. It does not use the from address set in YAF it self and because I have a mail service on my VPS that is strictly local and uses some Username that should never be used as From address all mail fails. What can we do to fix this?

Posted by: tha_watcha - Wednesday, 11 January 2017 12:15:01
[quote=Mariette;67828]It seems that YAF or DNN uses the SMTP username as the From address. It does not use the from address set in YAF it self and because I have a mail service on my VPS that is strictly local and uses some Username that should never be used as From address all mail fails. What can we do to fix this?[/quote] The only way would be to change the source code. I changed that for the next release. Then YAF will always use the forum email address as from email address.