hi all,
i am still struggling with the EmailSend function using an
CR1000@OS25.
i have mentioned the same error in this post:
http://www.campbellsci.com/forum/messages.cfm?threadid=5BBF3176-E4A0-688A-BF34C14972DC52FB
I get the error-message "Line too long" when trying to send mails with attachments via 1und1.de(Nemesis ESMTP) (relative big provider in germany).
As a german guy i really need to be able to use this provider, as a lot of customers are using this service and hence want to get their mails at least CC'ed to this provider.
I am able to send mails via googlemail or gmx.net, so i suspect the mail-server at 1und1 is a little "pedantic".
So i set up a "hMailserver" (with a vanilla-config) on my machine to get some logs, which showed the same line-to-long error.
"SMTPD" 9908 14 "2012-07-30 12:00:37.660" "192.168.0.2" "SENT: 220 MY-SERVER ESMTP"
"SMTPD" 7872 14 "2012-07-30 12:00:37.700" "192.168.0.2" "RECEIVED: EHLO CR1000"
"SMTPD" 7872 14 "2012-07-30 12:00:37.702" "192.168.0.2" "SENT: 250-MY-SERVER[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD" 9908 14 "2012-07-30 12:00:37.758" "192.168.0.2" "RECEIVED: AUTH LOGIN"
"SMTPD" 9908 14 "2012-07-30 12:00:37.760" "192.168.0.2" "SENT: 334 VXNlcm5hbWU6"
"SMTPD" 5628 14 "2012-07-30 12:00:37.781" "192.168.0.2" "RECEIVED: xxx"
"SMTPD" 5628 14 "2012-07-30 12:00:37.782" "192.168.0.2" "SENT: 334 UGFzc3dvcmQ6"
"SMTPD" 5628 14 "2012-07-30 12:00:37.800" "192.168.0.2" "RECEIVED: ***"
"SMTPD" 5628 14 "2012-07-30 12:00:37.811" "192.168.0.2" "SENT: 235 authenticated."
"SMTPD" 8056 14 "2012-07-30 12:00:37.843" "192.168.0.2" "RECEIVED: MAIL FROM:<foo@boo.moo>"
"SMTPD" 8056 14 "2012-07-30 12:00:37.849" "192.168.0.2" "SENT: 250 OK"
"SMTPD" 9472 14 "2012-07-30 12:00:37.881" "192.168.0.2" "RECEIVED: RCPT TO:<foo@moo.boo>"
"SMTPD" 9472 14 "2012-07-30 12:00:37.884" "192.168.0.2" "SENT: 250 OK"
"SMTPD" 5628 14 "2012-07-30 12:00:37.900" "192.168.0.2" "RECEIVED: RCPT TO:<foo@boo.goo>"
"SMTPD" 5628 14 "2012-07-30 12:00:37.903" "192.168.0.2" "SENT: 250 OK"
"SMTPD" 6936 14 "2012-07-30 12:00:37.920" "192.168.0.2" "RECEIVED: RCPT TO:<foo@goo.boo>"
"SMTPD" 6936 14 "2012-07-30 12:00:37.922" "192.168.0.2" "SENT: 250 OK"
"SMTPD" 10172 14 "2012-07-30 12:00:37.963" "192.168.0.2" "RECEIVED: DATA"
"SMTPD" 10172 14 "2012-07-30 12:00:37.964" "192.168.0.2" "SENT: 354 OK, send."
"SMTPD" 9988 14 "2012-07-30 12:01:00.594" "192.168.0.2" "SENT: 554 Too long line was received. Transmission aborted."
So i must suspect there is a little "incompatibility" between the loggers output and the expected input at the server side at least for this mail-server when it comes to the transmission of the attachment (something like a CR->CRLF->CRCRLF issue?)
I have no in-depth knowledge of email, so maybe i am completely wrong, but it would be nice if someone could confirm that there is a problem with some mail-servers.


