Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0005176mantisbtemailpublic2005-04-18 10:30
Reporterchq Assigned Tothraxisp  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.2 
Summary0005176: On windows system could not send a mail.
Description

When sending mail through mail system function, mail won't be send because of '\n' not a '\r\n', this change in class.phpmailer.php resolved the problem

function MailSend($header, $body) {
$to = "";
for($i = 0; $i < count($this->to); $i++)
{
if($i != 0) { $to .= ", "; }
$to .= $this->to[$i][0];
}

$body =  str_replace("\n","\r\n",$body);                
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}

I've seen make_lf_crlf function but it doesn't work correctly.

TagsNo tags attached.

Relationships

duplicate of 0004754 closeddregad phpmailer sends invalid characters in message body 

Activities

chq

chq

2005-01-28 03:27

reporter   ~0009122

I didn't figured out why make_lf_crlf function doesn't work.

thraxisp

thraxisp

2005-01-28 12:44

reporter   ~0009127

This is a duplicate of 0004764.

Have you tried a mode other than SMTP?