Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » PHP

sending PHP mail from my laptop?

 
Jump to:  
 
RJ_32
PostPosted: 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
PostPosted: 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
PostPosted: 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
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

Włochy co kraj to obyczaj Mecze na żywo w internecie Trout o strategii opony ciężarowe Fizyka i astronomia dla gimnazjum. Moduł 4: Optyka