smtplib starttls gmail example - comments?

Gabriel Genellina gagsl-py at yahoo.com.ar
Wed Jan 24 12:47:16 EST 2007


At Wednesday 24/1/2007 09:12, BJ Swope wrote:

>Both examples have included the cardinal sin in smtp...
>
>They both send the message text followed by new line dot new line.
>
>The smtp protocol specifically mentions CRLF dot CRLF.   Please 
>please please use \r\n.\r\n in your code...

No. The SMTP object takes care of proper message ending (as it 
should). If you append \r\n.\r\n to the message, or whatever, that 
will be correctly quoted and sent as part of the message.


-- 
Gabriel Genellina
Softlab SRL 


	

	
		
__________________________________________________ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas, 
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 




More information about the Python-list mailing list