Home > Smtp Error > Smtp Error Could Not Authenticate. Gmail

Smtp Error Could Not Authenticate. Gmail

Contents

If not or you host your site on your own server, there is always a risk that your IP address get blacklisted. Hosting provider tells everything is ok, also firewall (hope they know what they say). If you're getting messages like that using isMail(), look in your mail server log and check your PHP config. Yes it is a advertisement. http://phabletkeyboards.com/smtp-error/smtp-error-could-not-authenticate-wordpress-gmail.php

less secure apps access) with no luck. Bharat Can anybody send me all contact form file, actually i don,t know about php and i have to make a contact form. It's not at all secure. Why is international first class much more expensive than international economy class? http://stackoverflow.com/questions/3949824/smtp-error-could-not-authenticate-in-phpmailer

Smtp Error Could Not Authenticate Wordpress

Olaf I know that there are several options, one of them is a feature to use their SMTP service for your gmail account 😀 Try them… departedmind Which phpmailer did you Olaf Just noticed that I forgot to use the Cc option inside the function. I havent tried it with goolge but you might want to have a look at zend framework mail classes. What exactly is a "bad" "standard" or "good" annual raise?

Please contact your server support and send them the logs, it's possible that there is a firewall preventing you from sending emails. Should I define the relations between tables in database or just in code? System access configuration Need to allow access for firewall or network to send mail for linux, windows and mac. Smtp Error: Could Not Connect To Smtp Host. Is there maybe something in code that has to be changed?

And works as it should. Now this works like a charm. Your Email This email is in use. https://sourceforge.net/p/phpmailer/discussion/130418/thread/3fe31b72/ If you have any issues with these examples, just let me know.

This is what the support guy told me about: I have seen that before with web forms not being able to make a DNS lookup for smtp-relay.gmail.com thus not being able Language String Failed To Load: Tls thanx Olaf I don't think that a custom php contact form will work for you. Join today Download & Extend Drupal Core Distributions Modules Themes SMTP Authentication SupportIssues SMTP Error: Could not connect to SMTP host. SourceForge Browse Enterprise Blog Deals Help Create Log In or Join Solution Centers Go Parallel Resources Newsletters Cloud Storage Providers Business VoIP Providers Internet Speed Test Call Center Providers Home Browse

Smtp Error: Could Not Authenticate. Drupal

but php mail() function is working fine. http://productforums.google.com/d/topic/apps/lkzdU6ZKWZs If you can't change that, or it doesn't exist, contact your hosting provider. Smtp Error Could Not Authenticate Wordpress Olaf Lederer I see, that JangoSMTP provides a free plan too. Smtp Error Could Not Authenticate Whmcs I remember me that the SMTP setup on windows was always some trouble, but is should work if you open the right ports and you're using google as SMTP host Codin

SMTPSecure is case-sensitive, as the docs and examples imply: strings should be ssl and tls, not SSL and TLS. weblink I have the SMTP Host set to: smtp.gmail.com SMTP Port set to: 465 Encryption set to: Use SSL encryption Authentication Username: myGmailAddress Password: myGmailPassword array(19) { ["authenticate"]=> string(35) "SMTP Error: Could You're The Best! –Alejandro Echeverri Oct 16 '10 at 17:21 @Astantler you can mark his answer as accepted using the check mark symbol to the left. –Pekka 웃 Oct Or maybe it has this to do with google? Smtp Error: Password Command Failed

Olaf Check the information from above: Download a recent version of PHPMailer (I used the version 5.02) ZTH Thanks, It can run on localhost ? check this information from the Google help: http://www.google.com/support/a/bin/answer.py?hl=en&answer=33786 lloyd27 I suggest the function could return true in case of succcess, and the error message in case the email is not sent, After a quick look at the documentation I discovered that there was no such variable as SMTPSecure… I didn't check something really obvious, as you say in step 2: "Download a http://phabletkeyboards.com/smtp-error/smtp-error-could-not-authenticate-phpmailer-gmail.php At last I'm able to send emails from localhost with XAMPP.

please help me to resolve the error. Smtp -> Error: Password Not Accepted From Server: 535 Incorrect Authentication Data more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed They maintain an address book and can send emails to their students.

Olaf Lederer Hello, sorry that it took so long until your comment was published.

You may want to check the logs for any error messages. this is the erro i get 1 get after using phpmailer pls help Olaf Do you tried the smtp settings with a regular mail client first? there is already smtp mailer but my form not working Olaf You can replace the WP mail functions using SMTP only, search for the SMTP mail plugin and use your gmail Smtp Error Could Not Authenticate. Godaddy Messages will be sent to your gmail address, but you really need to read the docs.

See more: PHP I'm using PHPMailer to send email, but I always get the error above. PHPMailer member Synchro commented Aug 7, 2015 Solve one problem at a time. You said the following before you showed how to layout the function: Use the following function to send mail messages (add the function in one of your included files): by included http://phabletkeyboards.com/smtp-error/smtp-error-could-not-authenticate.php This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL) Top Experts Last 24hrsThis month OriginalGriff 145 CPallini 85 RyanDev 55

Olaf Lederer Thanks Zeeshan, the bug is fixed. If you start a small website it's much faster to use phpmailer. You're right without a SPF record it's very risky even if you use Google Apps for your domain. Join them; it only takes a minute: Sign up “SMTP Error: Could not authenticate” in PHPMailer up vote 21 down vote favorite 8 I'm Using PHPMailer in a Simple Script For

I can't help you if you won't do what I suggest. I was first told to create a Relay service for Gmail and limit the access to the relay to the IP where the drupal website was hosted (the sender), using the In my example script this port is only used for that server. Olaf Hi Jeff, lloyd27's snippet is just to demonstrate the error handling, it's not related to the mail function in this tutorial.

Puzzle similar to 15-puzzle but more moveable pieces? Did I participate in the recent DDoS attacks on Dyn's DNS service? WordPress.org Search WordPress.org for: Showcase Themes Plugins Mobile SupportForumsDocumentation Get Involved About Blog Hosting Download WordPress Support Log In Support » Plugins and Hacks » WP Mail SMTP » SMTP Error: You don't happen to have special characters in your password that might get transferred wrongly? –Pekka 웃 Oct 16 '10 at 17:18 add a comment| 10 Answers 10 active oldest votes

You are using an old version of PHPMailer and have not read the docs. Mailchimp offers a great free version. Mail error: SMTP Error: Could not connect to SMTP host.