• Resolved giggioman00

    (@giggioman00)


    Hello.
    I have wordpress+woocommerce on my VPS (let’s say for example the IP of this VPS is 10.10.10.10). But I have a different, dedicate mail server that have to take care of all the emails. let’s say this mailserver is 20.20.20.20.

    Now, on my domain DNS I have setup the record so that the A record for the domain redirect correctly to the host 10.10.10.10 and I have setup a mx record to let the 20.20.20.20 server to handle all the mails.

    The problem now is that for some reasons, woocommerce still try to use the 10.10.10.10 vps in order to send mails. And the emails goes to spam because 10.10.10.10 is optimized for hosting and not for mails. Why? Is there a way to force woocommerce to use the 20.20.20.20 instead?

    • This topic was modified 6 years, 1 month ago by giggioman00.
    • This topic was modified 6 years, 1 month ago by giggioman00.
    • This topic was modified 6 years, 1 month ago by giggioman00.
    • This topic was modified 6 years, 1 month ago by giggioman00.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Am I correct that you haven’t customized any outgoing e-mail settings in your WordPress install? If so, you’ll probably need to explicitly set it to the 20.20.20.20 mail server (the MX record won’t do it). A common way to do that is with the WP Mail SMTP plugin set to “Other SMTP”. You’ll want to include an SMTP username/password if your 20.20.20.20 server requires it.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    Hey @giggioman00,

    Following up on @danmailman’s suggestion above, you can find a great tutorial here for how to configure the SMTP settings using that plugin:

    https://www.fastcomet.com/tutorials/woocommerce/configuring-smtp

    Hopefully that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce use the wrong mail server, why?’ is closed to new replies.