Home » Mail » Mail_Mime » Bug #4721
send is the last statment
Details
| Submitted | 2005-06-30 21:23 UTC |
|---|---|
| From | gaboto at gmail dot com |
| Assigned | cipri |
| Status | Bogus |
| Package | Mail_Mime |
| PHP Version | 4.3.11 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2005-06-30 21:23 UTC] gaboto at gmail dot com
Description:
------------
The mail is sent alright, but after been sent no more code is executed in the script, It Happen when using images in the html code.
Reproduce code:
---------------
$recipients = $haciaMail;
$mime = new Mail_mime();
$headers['From'] = $desde;
$headers['To'] = $haciaMail;
$headers['Subject'] = $asunto;
$params["host"]= -----;
$params["port"]= 25;
$params["auth"]= True;
$params["username"]= ----;
$params["password"]= -----;
$mime->setTXTBody($text);
$mime->setHTMLBody($body);
if(isset($imagen))
$mime->addHTMLImage($imagen);
$body = $mime->get();
$hdrs = $mime->headers($headers);
$mail_object =& Mail::factory('smtp', $params);
$mail_object->send($recipients, $hdrs, $body);
Expected result:
----------------
I expect the script to go on running