• Hi, I have a problem that I need help with.

    I have install postman smtp, connected to gmail and successfully sent a test email.
    However when an email is sent from the forms, its not being sent via this plugin, instead it is being sent via the default wp email sender.

    What should I do please? Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Mikey B

    (@mikebackhouse)

    Same.. I have multiple plugins which send emails to users and they’re not getting them. But the test email works perfectly?!

    • This reply was modified 8 years, 4 months ago by Mikey B.
    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Postman only works with plugins that support the WordPress wp_mail API. If your plugin handles email directly, it will simply ignore Postman.

    Which plugins give trouble?

    Mikey B

    (@mikebackhouse)

    Hi Jason,

    The plugin has been custom developed using “learndash”

    My developer has just emailed me saying “The plugin uses the normal mail function which wordpress also uses”

    ?

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    Well, by default WordPress uses PHPMailer internally. Like this:

    Some plugin -> WordPress -> PHPMailer -> SMTP server

    Postman overrides the behaviour of WordPress to provide an alternate mailer.

    Some plugin -> WordPress -> Postman -> SMTP server

    It isn’t exactly clear what your developer means by “the normal mail function”. However if your custom plugin also uses PHPMailer internally, it is ignoring Postman.

    Custom plugin -> PHPMailer -> SMTP server

    Your plugin must call wp_mail in order to delegate sending mail via WordPress itself:
    https://developer.www.ads-software.com/reference/functions/wp_mail/

    Mikey B

    (@mikebackhouse)

    Ok thanks Jason, I’ll ask and get back to you

    I have been having the same exact problem! The test email is sending great, but no forms are working. I have tried with both Contact Form 7 and NinjaForms. Both fail. I am very eager to see what the problem is!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘email is not delivered via postman smtp’ is closed to new replies.