PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to make sure your SMTP plugin works

  1. snaponsite
    Member

    So this is more of a note that you should have in the docs and ideally in your settings page. I did not receive mail so I added an SMTP plugin and it still did not work. Other plugins and testing worked just fine till I dived in your code. It seems that many mail servers (even with auth/tls on) will reject mail which has a different sender field as set in the smtp config as the from header you set. Not all SMTP plugins give you the option to manage this - but the cimy-swift-smtp plugin does and it MUST be set to "Always overwrite the sender" or many mail servers will reject it. I wish this info was made obvious to me but it took a few hours of hacking code to narrow it down. Maybe this will help others.

    Posted 6 years ago on Tuesday October 30, 2012 | Permalink
  2. Thank you for the information.

    Posted 6 years ago on Tuesday October 30, 2012 | Permalink

This topic has been resolved and has been closed to new replies.