Home » Mail » Mail_Mime » Bug #5837
Mail_Mime: Build message for Net_SMTP
Details
| Request #5837 | Mail_Mime: Build message for Net_SMTP |
|---|---|
| Submitted | 2005-10-31 23:02 UTC |
| From | mortonda at dgrmm dot net |
| Assigned | cipri |
| Status | Closed |
| Package | Mail_Mime |
| PHP Version | 4.3.10 |
| OS | any |
| Roadmaps | 1.4.0, 1.4.0a1 |
Comments
[2005-10-31 23:02 UTC] mortonda at dgrmm dot net
Description:
------------
Net_SMTP just needs a single parameter to its ->data() function, so the headers need to be converted into text and concatenated with the body. Could Mail_Mime provide this?
$mime->getMessage();
In that function it would do something like:
foreach($hdrs as $key=>$val) {
$hdr .= "$key: $val\r\n";
}
return $hdr . "\r\n" . $body;