setting mail() up with smtp auth
Posted by: natherul (---.tbcn.telia.com)
Date: December 27, 2009 02:50PM

hey, i wanted to set the mail() function up so it works but i need to add SMTP auth and i dont see that option in the php.ini file... what shall i do?

Options: ReplyQuote
Re: setting mail() up with smtp auth
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 27, 2009 04:10PM

wamp doesnt have a mail server

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: setting mail() up with smtp auth
Posted by: natherul (---.tbcn.telia.com)
Date: December 27, 2009 05:03PM

no but in the php.ini there are settings for setting the mail function and all i wanna do is to use another mail service i want but then i have to specify to use username and password as well as the SMTP server... and as it is in the php.ini theres no setting for username and password, just mail adress, port and SMTP server....

A own mailserver is not needed...

Options: ReplyQuote
Re: setting mail() up with smtp auth
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 27, 2009 05:24PM

wamp doesnt have a mail server.. so there is no settings i can tell you that will work.

get your own mail server. and ul know the details from that..

or use your ISP'S mail servr which you shud know the settings to already


YOU NEED A MAIL SERVER TO SEND MAIL ( OR AT LEAST ACCESS TO A MAIL SERVER)

phps mail() function will just send the request to a mail server

have a look here > [email.about.com]
and here > [email.about.com]

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 3 time(s). Last edit at 12/27/2009 05:29PM by stevenmartin99.

Options: ReplyQuote
Re: setting mail() up with smtp auth
Posted by: marcvangend (---.versatel.net)
Date: January 14, 2010 10:27AM

The original poster is correct, it is not needed to set up your own smtp server. All you need is a way to access your smtp server. If your smtp server does not require authorization, that's no problem. If your smtp server does require username and password, wamp will not work out-of-the-box.

This solution worked fine for me:
[www.joshstauffer.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.