|
Size: | 7939 |
Storage flags: | no_autoload,compress/gzip (34%) |
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:
Changing the MIME Boundary
1 2 3 | $mail = new Zend\Mail\Message();
$mail->setMimeBoundary('=_' . md5(microtime(1) . $someId++));
// build message...
|
The source code of this file is hosted on GitHub. Everyone can update and fix errors in this document with few clicks - no downloads needed.