|
Posted by Jerry Sievers on 10/12/05 00:04
Kevin <user@example.net> writes:
> Does anyone know if it is possible to configure PHPMailer so that
> instead of actually sending the message it writes its contents out to a
> file (i.e., including all the message headers, boundaries, etc.)?
Sure, why don't you BCC it to a local address and have your sendmail
aliases file set to file this alias?
Or if you don't want the mail sent at all, just put this file address
in the To slot of the PHP mail function call.
You are doing this on a good OS like Unix, right?
I have no clue how to do this on Windows but it must be possible.
--
-------------------------------------------------------------------------------
Jerry Sievers 305 854-3001 (home) WWW ECommerce Consultant
305 321-1144 (mobile http://www.JerrySievers.com/
Navigation:
[Reply to this message]
|