Support » Plugin: Easy WP SMTP » wp_mail() in own plugin does not work

  • Resolved orangeferdi

    (@orangeferdi)


    Hello,

    I want to send a mail in my Plugin after submitting a form. When I use the php function mail($to, $subject, $message, $headers) The mail is sent, but ends up in the SPAM. So I wanted to send it via SMTP and found your plugin.
    When I use the wp_mail() function then the mail is not even sent. What causes this issue?

    Best regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, did you check to make sure your settings are correct? Do you see any error messages? Have you tried sending a test e-mail via the plugin?

    Thank you

    My settings are correct, yes. I tried to copy the code from your plugin to mine but it does not work. And the test e-mail does work, yes but I don’t get any errors..

    Even when I try to debug

    Okay, i deleted the plugin and reinstalled it.. Now it works.. I don’t know how this now works because I did the same settings.. *confused*

    Plugin Support mbrsolution

    (@mbrsolution)

    I am glad you fixed your issue.

    Sometimes what ever reason, the plugin becomes corrupted and this can be because of a conflict with another plugin. A simple re-installation of the plugin will do the trick as you found out yourself.

    Enjoy the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.