note 35572 added to function.imap-mail-compose

From: Date: Sat, 06 Sep 2003 09:26:41 +0000
Subject: note 35572 added to function.imap-mail-compose
Groups: php.notes 
Request: Send a blank email to php-notes+get-55527@lists.php.net to get a copy of this message
imap_mail_compose modifies $envelope! Subsequent calls with the same $envelope may not work depending on the contents of the header. The best way (at least it works) I found, is: $temp_env=unserialize(serialize($envelope)); $mail=imap_mail_compose($temp_env,$body); (just $temp_env=$envelope does not work either) ---- Manual Page -- http://www.php.net/manual/en/function.imap-mail-compose.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35572 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35572&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35572&report=yes

« previous php.notes (#55527) next »