Part of the EllisLab Network
   
 
Email with smtp - error 354
Posted: 18 March 2007 12:52 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  7
Joined  12-28-2006

I have found a bug in the Email class.
The mail server response is : error 354 (end with <CRLF>.<CRLF>)

So at line 1310, i have replaced :

$this->_send_data($this->_header_str . $this->_finalbody);
        
        
$this->_send_data('.');

        
$reply = $this->_get_smtp_data();

by

$this->_send_data($this->_header_str . $this->_finalbody);
        
        
$this->_send_data("\r\n.\r\n");

        
$reply = $this->_get_smtp_data();

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 66413 Total Logged-in Users: 40
Total Topics: 84753 Total Anonymous Users: 0
Total Replies: 454825 Total Guests: 226
Total Posts: 539578    
Members ( View Memberlist )
Newest Members:  byrooNirCalexmuellerkizerdrixcaptainredmuffquinodligtharttechsivamDjordjesammozza