|  | sending PHP mail from my laptop? |  | |
| | | RJ_32 |  |
| Posted: Tue Sep 02, 2008 1:18 am Post subject: sending PHP mail from my laptop? |  |
I can set the host and port, but I don't see that there is anywhere to specify the username and password for an email account on a remote server.
Is that do-able? |
| |
| | | Jerry Stuckle |  |
| Posted: Tue Sep 02, 2008 1:21 am Post subject: Re: sending PHP mail from my laptop? |  |
RJ_32 wrote:
| Quote: | I can set the host and port, but I don't see that there is anywhere to specify the username and password for an email account on a remote server.
Is that do-able?
|
Not with the mail command.
However, the PHPMailer class as Micha suggests can handle such things (and more) for you.
-- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
| |
| | | RJ_32 |  |
| Posted: Tue Sep 02, 2008 3:08 am Post subject: Re: sending PHP mail from my laptop? |  |
Jerry Stuckle wrote:
| Quote: | RJ_32 wrote: I can set the host and port, but I don't see that there is anywhere to specify the username and password for an email account on a remote server.
Is that do-able?
Not with the mail command.
However, the PHPMailer class as Micha suggests can handle such things (and more) for you.
|
yes, thanks, easy to use.
However, to enable SSL, I had to add to my php.ini: extension=php_openssl.dll
and also to place a copy of that dll into the .../ext directory. It's apparently already finding libeay32.dll because my system path still points to the old PHP installation |
| |
|
|