cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: cURL SMTP - 451 Invalid Smtp line - Should end with CRLF

From: Alona Rossen <arossen_at_opentext.com>
Date: Mon, 18 Oct 2010 12:08:21 -0400

Resolved - please ignore

 

From: Alona Rossen
Sent: Monday, October 18, 2010 12:00 PM
To: libcurl development
Cc: Alexander Lilko; Cristian Suciu; David Hsieh
Subject: cURL SMTP - 451 Invalid Smtp line - Should end with CRLF

 

curl smtp://smtp.broadband.rogers.com:587 -v --mail-from
'<myaccount_at_rogers.com>' -- mail-rcpt '<arossen_at_opentext.com>' -u
myaccount:XXXXXXXXX -T /export/home/sambuild/ORANT10.xml

 

* About to connect() to smtp.broadband.rogers.com port 587 (#0)

* Trying 206.190.36.18... % Total % Received % Xferd Average
Speed Time Time Time Current

                                 Dload Upload Total Spent Left
Speed

  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0connected

* Connected to smtp.broadband.rogers.com (206.190.36.18) port 587 (#0)

< 220 smtp107.rog.mail.re2.yahoo.com ESMTP

> EHLO ORANT10.xml

< 250-smtp107.rog.mail.re2.yahoo.com

< 250-AUTH LOGIN PLAIN XYMCOOKIE

< 250-PIPELINING

< 250 8BITMIME

> AUTH PLAIN XXXXXXXXXXXXXXXXXXXXXXX

< 235 OK, go ahead

> MAIL FROM:<XXXXXXXXXXXXXXXX>

< 250 OK , completed

> RCPT TO:<arossen_at_opentext.com>

< 250 OK , completed

> DATA

< 354 Start Mail. End with CRLF.CRLF

} [data not shown]

  0 0 0 0 0 1650 0 4493 --:--:-- --:--:-- --:--:--
5030< 451 Invalid Smtp line - Should end with CRLF

  0 0 0 0 0 1650 0 4483 --:--:-- --:--:-- --:--:--
5030* Connection #0 to host smtp.broadband.rogers.com left intact

* Failure when receiving data from the peer

 

curl: (56) Failure when receiving data from the peer

> QUIT

* FTP response reading failed

* Closing connection #0

/usr/local/curl72/bin>

 

 

Please kindly explain why I cannot send an email via my rogers account
using cURL command line tool or C++ app with libcurl and from Solaris,
while I can accomplish this task using C++ application with libcurl on
Windows.

 

Thanks,

Alona

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-18