Programmer's Reference Guide
| Adding Recipients |
Controlling the MIME Boundary
In a multipart message, a MIME boundary for separating the different parts of the message is normally
generated at random. In some cases, however, you might want to specify the MIME boundary that is used.
This can be done using the setMimeBoundary() method, as in the following example:
Example #1 Changing the MIME Boundary
$mail = new Zend_Mail();
$mail->setMimeBoundary('=_' . md5(microtime(1) . $someId++));
// build message...
| Adding Recipients |
Select a Version
Languages Available
Components
Search the Manual
Navigation
- Programmer's Reference Guide
- Programmer's Reference Guide
- Zend_Mail
- Introduction
- Sending via SMTP
- Sending Multiple Mails per SMTP Connection
- Using Different Transports
- HTML E-Mail
- Attachments
- Adding Recipients
- Controlling the MIME Boundary
- Additional Headers
- Character Sets
- Encoding
- SMTP Authentication
- Securing SMTP Transport
- Reading Mail Messages
