• It took me quite a while to figure it out but, on my installation, where it says: “Send all WordPress emails via SMTP.”

    It means: “Use the PHP mail() function to send emails.”

    And viceversa…

    Hope it helps someone…

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m the plugin author.

    Is this when you’re looking at the admin page? The page url:
    wp-admin/options-general.php?page=wp-mail-smtp/wp_mail_smtp.php

    You’re saying the options are reversed for you? When you choose SMTP your mails are sent using PHP’s mail() function, but when you chose mail() then your messages are sent via SMTP. Is that correct?

    This is absolutely not the intended purpose of the code. Further, This plugin has been downloaded many times (over 1’400 last week) and I’ve never had another report of this behaviour. I’d be interested to explore the issue with you to see if we can get to the bottom of it.

    Thread Starter santiazpi

    (@santiazpi)

    Hi Callum,

    I am not sure what is the best way to explain the problem. Maybe we can exchange emails and once we solve it we can close it here…

    (sorry for the delay, I just saw your answer right now by coming to check to the plugin area…)

    My email is santiago at leadsemporium.com

    Thanks.

    Do you have any other plugins installed? Which version of WordPress are you using?

    How did you decide that the two options have been reversed?

    I’d prefer to exchange here at first, using email only for confidential stuff (lists of plugins, logs, etc).

    Love & joy – Callum.

    Thread Starter santiazpi

    (@santiazpi)

    Hi Callum,

    After looking into it a bit better, it is not a reversal, it was me being not proficient… I was confused by the beginning of the feedback from the plug-in in the test, where it starts with PHP_mailer…

    Here is my situation. With an external SMTP server (godaddy’s), the plug-in works just fine:

    SMTP -> FROM SERVER:
    220 smtpauth04.prod.mesa1.secureserver.net ESMTP
    SMTP -> FROM SERVER:
    250-smtpauth04.prod.mesa1.secureserver.net
    250-AUTH LOGIN PLAIN
    250-8BITMIME
    250 PIPELINING
    SMTP -> FROM SERVER:
    250 Sender accepted.
    SMTP -> FROM SERVER:
    250 Recipient accepted.
    SMTP -> FROM SERVER:
    354 End your message with a period.
    SMTP -> FROM SERVER:
    250 Accepted message qp 28868 bytes 692
    SMTP -> FROM SERVER:
    221 Good bye.

    But with my server, I get the following:

    SMTP -> FROM SERVER:
    220-node01.tmdhosting940.com ESMTP Exim 4.69 #1 Fri, 22 Oct 2010 02:45:34 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    SMTP -> FROM SERVER:
    250-node01.tmdhosting940.com Hello node01.tmdhosting940.com [184.154.49.74]
    250-SIZE 52428800
    250-PIPELINING
    250-AUTH PLAIN LOGIN
    250 HELP
    SMTP -> FROM SERVER:
    250 OK
    SMTP -> FROM SERVER:
    550-Verification failed for
    550-No Such User Here"
    550 Sender verify failed
    SMTP -> ERROR: RCPT not accepted from server: 550-Verification failed for
    550-No Such User Here"
    550 Sender verify failed
    
    SMTP -> FROM SERVER:
    250 Reset OK

    Their answer to the problem is

    The SMTP plugin, which you use doesn’t appear to be correctly passing arguments to the MTA, thus fails to properly authenticate. I however managed to successfully send 2 test messages to my personal address using the standard php mail() method. If you are still experiencing any issues with it, could you please let us know what exactly are they and how exactly can we recreate them on our end, so we can check further.

    It does indeed look like your plug-in is not passing the username at all to this SMTP server..

    And my issue is that with PHP_mailer it appears that not all the emails go out, but I have no idea on how to debug that aspect.

    Any hints on how to proceed?

    Thank you so much.

    Santi

    As I understand it, GoDaddy blocks outgoing traffic on port 25. That means if you’re using a GoDaddy server, you can only send mail through the GoDaddy SMTP relay. Access to all other SMTP servers is blocked to prevent spamming.

    The log you posted indicates that the username is not valid on the server. The user is being sent, but it’s being rejected by the SMTP server. If WordPress is installed on a GoDaddy server, I believe you’ll have to use their SMTP relay to send all mail from WordPress.

    Thread Starter santiazpi

    (@santiazpi)

    Hi Callum,

    No, it is actually the other way around. I am hosting in tmdhosting and using godaddy smtp servers because I cannot make it work with tmdhosting server. That is the server that gives the “no such user”, but with empty quotes, like if your plugin was passing and empty string as the user…

    In other words, godaddy SMTP server works fine, it is tmdhosting that does not.

    They suggested something about testing with telnet, but I do not have a clue how can that help…

    Cheers

    I’m not sure what to suggest. The plugin doesn’t actually affect the SMTP transaction directly. It tells PHPMailer how to handle the transactions. I’ve had many, many reports of the plugin (and I use it myself) so I’m very confident the code is good.

    Perhaps there’s an issue with the mail server that’s not working for you, or the username / password you’re using, or maybe something else even more wonky is going on.

    Try switching to another mail server that supports authentication (I don’t think GoDaddy does) and see if that works. If it does, I’d say the problem’s with the tmdhosting mail server.

    Love & joy – Callum.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP Mail SMTP] SMTP / PHP Mail reversed’ is closed to new replies.