• Resolved tom.andersen

    (@tomandersen)


    I can’t get the API method to work with Pepipost, by selecting pepipost in the WP Mail SMTP settings. I get ‘invalid domain’. It all works if I use the generic SMTP settings in WP MAIL SMTP. Forced from email checkbox is ON in WP MAIL SMTP.

    I have set up the domain ws.xxxxxxxx.com in pepipost, and the site is at xxxxxxx.com

    The API key is correct, I get a different error when using the wrong key.

    I am pretty sure its a problem with the pepipost code in the WP Mail SMTP plugin. We are developers, I write lots of PHP, etc.

    Others have posted recently – this is a new problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tom.andersen

    (@tomandersen)

    I peeked at the WP MAIL SMTP source for sending via pepipost, and it uses some v3 of the api and a different URL than pepipost says to use. Not sure if pepipost has changed this version 3 since they show using v2 in their examples.

    From the code
    protected $url = ‘https://sgapi.pepipost.com/v3/mail/send’;

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @tomandersen,

    our plugin is using the Sendgrid to Pepipost migration API, that’s why the different API endpoint URL (more info).

    The Pepipost mailer should still work just OK.

    I’ve tested it with a root domain validated in Pepipost and I don’t get this ‘invalid domain’ issue. I’ve now changed to a subdomain in Pepipost and waiting for DNS to catch up. Once I’ve tested with the subdomain I’ll let you know.

    In the meantime, what is your “from email” set to? Is it [email protected] or is it [email protected] (If you set the domain in Pepipost to ws.xxxxxxxx.com, then I think the sending (from) email in the plugin setting should be set to [email protected] (and forced, which you already have set)).

    Have a nice day!

    • This reply was modified 4 years, 7 months ago by Gregor Capuder. Reason: added coding tags

    Hi @tomandersen – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pepipost problems’ is closed to new replies.