Part of the EllisLab Network
   
 
Email library - bug using mail()
Posted: 22 November 2006 01:49 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1737
Joined  06-23-2006

Lines 1225 & 1232 pass an array into the mail() function as the first parameter, but the function expects a string.

Surprised this has gone unnoticed.

(I’d prefer to use “smtp” protocol or “sendmail”, but they’re not working for me yet.)

 Signature 

Mac OS X 10.4.10, Apache 1.3.3, PHP 5.2.3, CodeIgniter 1.5.x., baby!

Profile
 
 
Posted: 22 November 2006 02:17 AM   [ Ignore ]   [ # 1 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1737
Joined  06-23-2006

Follow-up… seems as though $this->_recipients is an array until a recipient is added, at least when using “mail” as the protocol.

Not a bug.

 Signature 

Mac OS X 10.4.10, Apache 1.3.3, PHP 5.2.3, CodeIgniter 1.5.x., baby!

Profile
 
 
   
 
 
‹‹ CI_Input      Typo in mysqli driver ››
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: 64453 Total Logged-in Users: 22
Total Topics: 80961 Total Anonymous Users: 0
Total Replies: 435696 Total Guests: 186
Total Posts: 516657    
Members ( View Memberlist )