YAFLogo

tstallan
  • tstallan
  • 52% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
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

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago

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

Originally Posted by: tstallan 

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.

tstallan
  • tstallan
  • 52% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
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

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago
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.
tstallan
  • tstallan
  • 52% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Hi,

Thanks for the quick response

Yes I am using 7.2

I will keep an eye out for the next upgrade.

Regards

Tony

Mariette
  • Mariette
  • 78.4% (Friendly)
  • YAF Commander
8 years ago
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?
MJK
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
8 years ago

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?

Originally Posted by: Mariette 

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.