New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to SMTP mail composition to comply with standards #257
Comments
I suppose there is text of images missing because it seems to lack information. |
Another report for this here: http://community.mybb.com/thread-161693.html |
I suppose we can check if the server is respecting the SPF policy before sending a e-mail. Or add a new setting if that is not possible. |
Additional comment to pull request: I don't think it should be necessary to check if the domain that is used in the "from"-field uses SPF/is protected by DMARC. It is the responsibility of the administrator to use a forum reply-to adress that he/she has control over and therefore can set the correct SPF entries for that domain. The only situation that I can think of where the from adress is not the forum adress, is the sending of mails from users to users (the initial reason for this issue report). This case should be fixed by passing the correct parameters to the mailing method. The from field should end up being the same adress that is used for all types of forum notifications, the "reply-to" adress should be that of the user that is sending the mail. Anything beyond that (proper spf records for that "from" adress etc.) should not be the problem or focus of the forum software itself. |
I had some mail setting issues when switching from php mail to smtp mail. I'm using zoho for email now. when I set up all of the SMTP settings in the admin cp, I was using the zoho super user username & password. once I tested email generated from my forum, I was seeing this in the system mail logs: The mail server does not understand the MAIL FROM command. Reason: N/A I'm not sure why I thought of this, but I changed the SMTP username & password so the username was the same as the admin email set up in the site details. in other words, the admin email in site details was me@me.com and the username in the smtp mail settings was me@me.com. only after then did emails start flowing properly. another problem I ran into is emails from contact.php were not being sent out. there was no error being logged. I made the following patch, at the direction of @devilshakerz, to the contact.php file. I changed this: to this: |
…ds (mybb#2877) * Use the return_email parameter to set sender email * Fix `my_mail` usage in member.php
Original report: http://dev.mybb.com/issues/1720
Reporter: Yuri Taillandier
Status: New
The text was updated successfully, but these errors were encountered: