Issues with Mail_mimedecode and mail templates
| From: | Dan Rossi | Date: | Tue, 11 Oct 2005 09:19:50 +0000 |
| Subject: | Issues with Mail_mimedecode and mail templates | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21347@lists.php.net to get a copy of this message | ||
Hi there, for some strange reason the _splitBodyHeader is not parsing my template properly therefore nothing is being returned here is an example template that used to work, yes used to work without having to add recipitents as i add these after
From:
Sender:
To:
Subject: The subject
Hello , the email body
even adding information here, its still not coming up properly,
i has some crazy preg match for carriage returns and new lines however i code on osx.
if (preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $input, $match)) {
return array($match[1], $match[2]);} any ideas ?