tstallan
  • Posts: 3
  • Joined: 09/01/2014
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
  • Posts: 4067
  • Joined: 06/03/2010
Originally Posted by: tstallan

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



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.

UserPostedImage
tstallan
  • Posts: 3
  • Joined: 09/01/2014
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
  • Posts: 4067
  • Joined: 06/03/2010
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.
UserPostedImage
tstallan
  • Posts: 3
  • Joined: 09/01/2014
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
  • Posts: 63
  • Joined: 07/06/2004
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
  • Posts: 4067
  • Joined: 06/03/2010
Originally Posted by: Mariette

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?



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.
UserPostedImage
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved