• Resolved tscibilia

    (@tscibilia)


    Hey I’m getting an “Incorrect authentication data” response when i run the test email. when i do connectivity test i get the following summary:

    Summary:
    ? ?? Port 25 can be used for SMTP to MYO365DOMAIN.mail.protection.outlook.com. Warning: connected to secureserver.net instead of outlook.com.
    ? No outbound route between this site and the Internet on Port 443.
    ? No outbound route between this site and the Internet on Port 465.
    ? No outbound route between this site and the Internet on Port 587.

    Your web host has placed a firewall between this site and the Internet
    The SMTP hostname is wrong or the mail server does not provide service on this port
    Your PHP configuration is preventing outbound connections
    Your WordPress configuration is preventing outbound connections

    I’m use to making an imap/smtp connection through port 587 TLS and never had an issue. Office 365 resource here.

    PLease let me know if you think this is a godaddy issue, php issue, wordpress issue, or office365.

    OS: Linux p3plcpnl0795.prod.phx3.secureserver.net 2.6.32-531.29.2.lve1.3.11.1.el6.x86_64 #1 SMP Thu Dec 18 06:49:17 EST 2014 x86_64
    HTTP User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
    Platform: PHP Linux 5.5.24 / WordPress  4.2.2 en_US
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=No, allow_url_fopen=Yes, mcrypt=Yes
    WordPress Theme: Divi Child Theme
    WordPress Plugins: Akismet, Autoptimize, BackWPup, Google Analytics by Yoast, Monarch Plugin, Social Login, Postman SMTP, Redirection, Shortcodes Ultimate, Compress JPEG & PNG images, WordPress SEO, WP Bitly, WP Google Maps, WP Super Cache
    Postman Version: 1.6.23
    Postman Sender Domain (Envelope|Message): d42.nyc|d42.nyc
    Postman Prevent Message Sender Override (Email|Name): No|No
    Postman Transport URI: smtp:tls:login://smtp.office365.com:25
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|Yes
    Postman Deliveries (Success|Fail): 0|1
    Postman Bind (Success|Fail|Path): Yes|No|/home/design42/public_html/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php
    Postman TCP Timeout (Connection|Read): 10|60
    Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128
    Postman Run Mode: production
    Postman PHP LogLevel: 40000
    Postman Stealth Mode: No
    Postman File Locking (Enabled|Temp Dir): Yes|/tmp

    https://www.ads-software.com/plugins/postman-smtp/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    Warning: connected to secureserver.net instead of outlook.com.

    Because GoDaddy is intercepting your connection and obviously you can’t use your Outlook credentials with the GoDaddy server.

    The only server you can connect to is GoDaddy’s (through secureserver.net or localhost). The wizard should have detected that and set it up for you, I don’t know why it didn’t.

    You’ll need to create a GoDaddy email account and have it forward to your Outlook address.

    Thread Starter tscibilia

    (@tscibilia)

    The wizard was fine. I changed it manually because i couldn’t understand why it wasn’t working.

    I can’t create a godaddy email because my mx server is directed to office 365, that actually why i downloaded your plugin (i wasn’t receiving mail sent through the website contact form).

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    MX is for receiving mail, and your website is only concerned with sending it. A GoDaddy email address will work just fine as long as you add GoDaddy to your domain’s SPF record.

    I was having the same problem and found the solution. The answer is the cPanel MX Entry setting.

    By default it is set to Local Mail Exchanger in which case the web server tries to handle email that it believes are for it (i.e. email that originates from the same domain as the website).

    To solve the problem, login to cPanel and change MX Entry to Remote Mail Exchanger in which case the web server will let the MX Records in your DNS to route the email.

    Once you do this, there is no need for any WordPress SMTP plugin at all.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    @chemusic, you’ve posted the same, incorrect suggestion five times. that’s Spam.

    @jason Hendriks

    Excuse me, we’re all trying to help – this is not spam if it works. Keep in mind I was using your plugin before I came across this solution. Again this person is having the exact same issue that I was having. They don’t need YOUR plugin for this to work.

    As you noted in the comments above, the system is connecting to secureserver.net instead of outlook.com. This is most likely happening because the cPanel MX Entry is set to Local rather than Remote. The is GoDaddy’s default setting for cPanel hosting.

    @tscibilia

    I would suggest you disable the Postman SMTP plugin and attempt to change the setting I’m referring to by logging into your cPanel. If you’d like contact GoDaddy and ask them about this and they will show you. It takes two minutes. Once that’s done, it should work because now your MX records will determine delivery.

    Here’s Google’s article for reference on this topic: https://support.google.com/a/answer/55299?hl=en

    Caveat: I’m assuming that your website is yourdomain.com and you’re trying to send an email to [email protected] via a PHP form.

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    You are wrong. You can’t bypass SMTP authentication with a single setting in cPanel. The entire Internet would be overrun with Spam if it were that easy.

    Go ahead and try to setup my domain, hendriks.ca, on your own website with your cPanel fix. It won’t work.

    The whole point of authentication and SPF is to make it impossible for Spammers who will attempt to do exactly what you are suggesting.

    The link you posted has nothing to do with the solution you are suggesting. I don’t mind if you don’t like or don’t use my plugin, but please don’t come to the forums with misinformation.

    Thread Starter tscibilia

    (@tscibilia)

    Hey,

    I’m not looking to incite a riot, but I must say that I called go daddy about this issue.

    I did disable the plugin and I did not follow @chemusic’s advice but from what the godaddy rep explained it sounded awfully familiar to the remote mail setting @chemusic described.

    I can’t say for sure if he’s right or wrong but whatever godaddy did behind the scenes allowed the regular emails from WordPress to reach me at office 365.

    Don’t shoot the messenger.

    I have the same problem. But…

    1- My site is this: https://www.bike.pro.br
    2- My email has the same domain, but configured in Office365
    3- I do not want to create another email to use in Gadaddy. Mainly because Godaddy has limited the number of emails sent per hour. I have many subscribers on my site receiving notifications every post I publish.

    Precisely for this limitation I’m paying the Mail Exchange in order to send emails to all my subscribers at once.

    I need my WordPress hosted on Godaddy be able to send my emails through the Mail Exchange.

    Can someone help me?

    This is the diagnostic from plugin:

    OS: Linux a2plcpnl0043.prod.iad2.secureserver.net 2.6.32-531.29.2.lve1.3.11.10.el6.x86_64 #1 SMP Fri Jun 12 15:09:02 EDT 2015 x86_64
    HTTP User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56
    Platform: PHP Linux 5.4.43 / WordPress 4.3.1 pt_BR
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes
    WordPress Theme: ClassiPress
    WordPress Plugins: AdRotate, Akismet, CloudFlare, Contact Form 7, ContestHopper for WordPress, WordPress Video Gallery, EWWW Image Optimizer, Jetpack by WordPress.com, LeadPlayer, Social Login, Postman SMTP, Really Simple SSL, Subscribe2, UpdraftPlus – Backup/Restore, W3 Total Cache, Wordfence Security, Yoast SEO Premium
    Postman Version: 1.6.23
    Postman Sender Domain (Envelope|Message): bike.pro.br|bike.pro.br
    Postman Prevent Message Sender Override (Email|Name): No|No
    Postman Transport URI: smtp:tls:login://smtp.office365.com:587
    Postman Transport Status (Configured|Ready|Connected): Yes|Yes|No
    Postman Deliveries (Success|Fail): 0|0
    Postman Bind (Success|Fail|Path): Yes|No|/home/lucianocorrea/public_html/bike.pro.br/wp-content/plugins/postman-smtp/Postman/PostmanWpMailBinder.php
    Postman TCP Timeout (Connection|Read): 10|60
    Postman Email Log (Enabled|Limit|Transcript Size): Yes|10|128
    Postman Run Mode: production
    Postman PHP LogLevel: 40000
    Postman Stealth Mode: No
    Postman File Locking (Enabled|Temp Dir): Yes|/tmp

    Plugin Author Jason Hendriks

    (@jasonhendriks)

    @vistapanoramica

    smtp.office365.com:587

    You can’t reach the Office365 server from GoDaddy. Postman would have told you that during the wizard setup. You have to send the email through GoDaddy.

    This is brutal. Not sure what I am missing, should be cake setup. I have an install with the above situation, from GoDaddy hosting trying to use Office365 Exchange relay. Leaving that one aside for now.

    Here is STANDARD install and config. GoDaddy webhost to GoDaddy SMTP.

    Using smtpout.secureserver.net, have tried ports 587 / 3535 / 25.

    Have also tried Plain and Login auth types.

    Email is working fine. Tests from Postman however fail consistently. SO CONFUSED.

    Here is connectivity test:
    ? ?? Port 25 can be used for SMTP to smtpout.secureserver.net.
    ? ?? Port 587 can be used for SMTP to smtpout.secureserver.net.
    ? ?? Port 465 can be used for SMTP to smtpout.secureserver.net.

    Here’s my diagnostics:

    OS: Linux a2plcpnl0399.prod.iad2.secureserver.net 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64
    PHP: Linux 5.4.45 C
    PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
    WordPress: 4.4.2 en_US UTF-8
    WordPress Theme: Twenty Fifteen
    WordPress Plugins: Jetpack by WordPress.com, Limit Login Attempts, Postman SMTP
    WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
    Postman: 1.7.2
    Postman Sender Domain (Envelope|Message): greenworksrecyclingwv.com | greenworksrecyclingwv.com
    Postman Prevent Message Sender Override (Email|Name): Yes | Yes
    Postman Active Transport: SMTP (smtp:tls:login://smtpout.secureserver.net:587)
    Postman Active Transport Status (Ready|Connected): Yes | Yes
    Postman Deliveries (Success|Fail): 0 | 1

    And when I say tests are failing, I mean:

    Incorrect authentication data

    Amazingly, for me, the solution was:

    1 – Deactivate Postman. It turns out the problem I was trying to fix by installing Postman could not be solved in that way.

    2 – ADD MX Entries in CPanel, adding (for GoDaddy, your host will be different):

    0 smtp.secureserver.net
    10 mailstore1.secureserver.net

    IMPORTANT – these are not changes to be made to your domain’s DNS / Zone File – add to the “MX Entry” section of your hosting account’s CPanel.

    My PHP form (Jetpack in this case) is now working perfectly.

    I know this is an old thread, but figuring my solution may apply to many as GoDaddy hosting is so common. Good luck!

    I also have Office 365 from GoDaddy and cPanel hosting. You do NOT need a plugin to get this working. +1 to chemusic, his fix worked. -1 to the plugin author for lying and trying to call his comment spam. His solution worked.

    I logged into my GoDaddy cPanel account. Deleted the default mx entry (which was set to deliver mail locally through cPanel and not through Office 365 as a remote. Added a new REMOTE entry that matched my mx record from my domain. Took about 10 mins to get me up and going. WITHOUT the plugin.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘office365 on godaddy auth error’ is closed to new replies.