Skip to main content

issue with my dns

Comments

4 comments

  • seizart
    one thing i need to add is emails are not hosted on my server but in another server, it probably add to the complexity
    0
  • cPanelMichael
    ]one thing i need to add is emails are not hosted on my server but in another server, it probably add to the complexity

    Hello :) Please see Google's bulk sender policy for a better idea of how they determine what mail is labeled SPAM:
    0
  • seizart
    i already put a dkim and spf entry, gmail say it passed ! So i don t see the problem now... How can i send the email as name@mydomain.org and not user@myserverdomain.org, i think that might be the problem, because the user who sent the email (with wordpress) is in fact different from the email adress)
    0
  • cPanelMichael
    ]How can i send the email as name@mydomain.org and not user@myserverdomain.org, i think that might be the problem, because the user who sent the email (with wordpress) is in fact different from the email adress)

    The default behavior when sending email through PHP is to use the cPanel username and hostname of the server to construct the envelope-sender address. If you can configure the mailer to use SMTP and authenticate with SMTP AUTH, this will set the correct "Return-Path" in the headers. The other option is to make sure that the application is using the 5th argument to the PHP mail() function to send the '-f' switch to sendmail so that it sets the correct "Return-Path". Keep in mind that your results may vary depending on which mail server is accepting the email. Thank you.
    0

Please sign in to leave a comment.