5.5.2 Syntax Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings 555 5.5.2 syntax error mail from and policies of this site About Us Learn more about Stack Overflow
5.5.2 Rcpt To Syntax Error Outlook For Mac
the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
555 5.5.2 Syntax Error Gmail
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it
5.5.2 Syntax Error Outlook
only takes a minute: Sign up 555 5.5.2 Syntax error. gmail's smtp up vote 8 down vote favorite Do you know what is syntax error refering? Here's the code I'm using cakephp $User = $this->User->read(null,$id); $this->Email->to = array('name@gmail.com');; $this->Email->from = 'name@gmail.com'; $this->Email->subject = 'Welcome to our really cool thing'; $this->Email->template = 'simple_message'; $this->Email->sendAs = 'both'; $this->Email->smtpOptions = array( 'port'=>'465', 'timeout'=>'30', mail from syntax error gmail 'auth' => true, 'host' => 'ssl://smtp.gmail.com', 'username'=>'name@gmail.com', 'password'=>'********', ); $this->set('User', $User); $this->Email->delivery = 'smtp'; $this->Email->send(); NOTE I'm sending the email to myself for test porpuses email smtp share|improve this question edited Dec 1 '10 at 5:11 asked Dec 1 '10 at 5:01 juan 71129 Perhaps a few more details are in order. Like, the email causing this error, how you're sending it, where you're sending it from, etc... Until then, this question is "it's broken. fix it. you don't need any more details" –Marc B Dec 1 '10 at 5:04 Of course sorry I fixed already –juan Dec 1 '10 at 5:12 if it's fixed, post an answer for us? Was it an ssl cert issue? –zanlok Dec 9 '10 at 21:18 possible duplicate of Cakephp SMTP emails syntax error –Yasir Arsanukaev Aug 23 '11 at 10:50 add a comment| 4 Answers 4 active oldest votes up vote 14 down vote This question was asked here: Cakephp SMTP emails syntax error Here is RabidFire's (correct) answer: Google's SMTP requires yo
from GoogleSign inHidden fieldsSearch for groups or messages
swear :p ), be aware that some new email servers strictly interpret RFC 2821 and appears to reject MAIL FROM and RCPT TO addresses of the form foo@example.com. Instead, it will return a 555 5.5.2 http://blog.yimingliu.com/2008/11/26/email-servers-and-mail-from-syntax/ Syntax error. The proper solution is to enclose the address brackets, as in
HELO example.com
250 Hello
MAIL FROM: foo@example.com
555 5.5.2 Syntax error.
MAIL FROM:
250 2.1.0 OK
RCPT TO: bar@example.com
555 5.5.2 Syntax error.
RCPT TO:
250 2.1.5 OK
DATA ....
I'm sure this is intended so that clients that send syntax error "Joe Schmoe