Title: Incorrect authentication data
Last modified: August 30, 2016

---

# Incorrect authentication data

 *  Resolved [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * (@destinyfacts)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/)
 * I am trying to get my contact form 7 to work on my website but everytime I submit
   I get “Failed to send your message. Please try later or contact administrator
   by other way.”
 * I downloaded the Postman SMTP Mailer plugin but I get a “Incorrect authentication
   data” when I try the test email.
 * This is my Office 365 email settings:
    **SMTP setting** Server name: smtp.office365.
   com Port: 587 Encryption method: TLS
 * Here are the settings I used in the plugin below, please help.
 * **Outgoing Mail Server Hostname**
    relay-hosting.secureserver.net
 * **Socket**
    SMTP – secureserver.net:587
 * **Email Address**
    [TonyL@Littleshots.org](https://wordpress.org/support/topic/incorrect-authentication-data-3/TonyL@Littleshots.org?output_format=md)
 * Sending the message: Failed
    Incorrect authentication data
 * **How will you prove your identity to the mail server?**
 * When it asks for username & password (ABOVE) what do I need to put in? Is this
   my issue? My Contact form 7 from is: [your-name] <[your-email]>, does this need
   to be changed since it states “The Username is usually the same as the Envelope-
   From Email Address.”
 * **Troubleshoot**
    OS: Linux a2plcpnl0124.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 PHP: Linux
   5.4.43 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=
   Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes WordPress: 4.3.1 en_US 
   UTF-8 WordPress Theme: theme51348 WordPress Plugins: All-in-One WP Migration,
   Cherry Lazy Load Boxes Plugin, Cherry Plugin, Contact Form 7, MotoPress Content
   Editor Lite, Postman SMTP, Go Daddy Quick Setup, Seamless Donations, Search Engine
   Visibility, WordPress Importer WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
   Postman: 1.7.2 Postman Sender Domain (Envelope|Message): LittleShots.org | LittleShots.
   org Postman Prevent Message Sender Override (Email|Name): No | No Postman Active
   Transport: SMTP (smtp:tls:plain://relay-hosting.secureserver.net:587) Postman
   Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success
   |Fail): 0 | 14
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767225)
 * The reason for the error is you are connecting to secure server.net instead of
   smtp.office365.com. The two different servers have two different accounts for
   you, with different passwords for each. The wizard should have warned you about
   this during setup.
 * **The more general answer is that you can’t directly access the Office365 server
   throug GoDaddy because they block the ports. **
 * If you have access to cPanel at GoDaddy, you can try enabling the Remote Mail
   Exchanger. I’ve heard that works for some people with Office 365.
 * Otherwise your only options at godaddy are:
    - Godaddy email
    - Gmail with the Gmail API
    - Any email with the Mandrill API
    - Any email with the SendGrid API
 * I recommend signing up your office 365 email at SendGrid. That’s what i would
   do in your situation.
 * I hope that helps you!
 * Cheers,
    Jason
 *  Thread Starter [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * (@destinyfacts)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767237)
 * On the Postman SMTP Setup Wizard Setup
 * How will the connection to the mail server be established?
    Your connection settings
   depend on what your email service provider offers, and what your WordPress host
   allows.
 * Postman recommends 🔐SMTP-STARTTLS with Password (Plain) authentication to host
   smtp.office365.com on port 587.
 * Socket:
 *  🔒 SMTP – office365.com:587
    🔒 SMTP – office365.com:465 🔒 SMTP – office365.
   com:25 🔒 Mandrill API 🔒 SendGrid API Authentication:
 *  Password (requires username and password)
    **Warning: connected to secureserver.
   net instead of office365.com.**
 * I enter in smtp.office365.com but it gives me this warning. What do I need to
   do?
 *  Plugin Author [Jason Hendriks](https://wordpress.org/support/users/jasonhendriks/)
 * (@jasonhendriks)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767243)
 * GoDaddy has redirected your connection to smtp.office365.com to itself. You are
   actually connecting to secureserver.net, not smtp.office365.com. **GoDaddy prevents
   direct connections to Office365. **
 * As I mentioned earlier: Try setting enabling the Remote Mail Exchanger in cPanel.
 * If that doesn’t work, use a different service like SendGrid.
 *  Thread Starter [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * (@destinyfacts)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767258)
 * I tried enabling remote mail exchanger, did not work.
 * I found this in the cpanel:
    **Manual Settings** If you do not see an auto-configuration
   script for your client in the list above, you can manually configure your mail
   client using the settings below:
 * Secure SSL/TLS Settings
    (Recommended) Username: [tonyl@littleshots.org](https://wordpress.org/support/topic/incorrect-authentication-data-3/tonyl@littleshots.org?output_format=md)
   Password: Use the email account’s password. Incoming Server: a2plcpnl0124.prod.
   iad2.secureserver.net IMAP Port: 993 POP3 Port: 995 Outgoing Server: a2plcpnl0124.
   prod.iad2.secureserver.net SMTP Port: 465
 * I tried putting in the outgoing server info (above) into the Setup Wizard for
   step 3. Outgoing Mail server hostname but it still gave me Incorrect authentication
   data.
 * Is there anything I can do with this information?
    I feel like I am putting in
   something wrong for the wizard, or I am missing/accidently deleted the MX record
   the plugin needed.
 * I dont understand what you mean by using a different service. Does that mean 
   canceling my 365 office account and installing another plugin? Geez ive been 
   trouble shooting this contact form for days now.. is there a faster way to msg
   someone who can help me?
 *  Thread Starter [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * (@destinyfacts)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767261)
 * My donations plugin is not sending emails either. I used Seamless-donations. 
   Do you know what MX record I need to have to make that work?
 *  Thread Starter [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * (@destinyfacts)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767272)
 * I think the problem was that my MX record has both my godaddy local c panel email
   and another record for my office 365 remote email.
 * I am removing my local one, and changing that setting again to remote mail exchanger.
 * Will update late tomorrow with progress, thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Incorrect authentication data’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [DestinyFacts](https://wordpress.org/support/users/destinyfacts/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-3/#post-6767272)
 * Status: resolved