Email form- SMTP setting
Posted by: Mansell (---.asfd.broadband.ntl.com)
Date: February 03, 2007 12:50AM

I ‘m new to php. I am running XP and installed wamp5 .. I developed a mail form. Some reason it is not firing email . Someone suggested I need a host to this form working, I hosted this file but still this not worked. I tried various setting, non worked. Anyone know exactly what cofig. of SMTP setting I need to to make. (I tried various setting still having problem) I will appreciate if some one post me working script which I can test.
Regards
Mansell

Options: ReplyQuote
Re: Email form- SMTP setting
Posted by: CyberSpatium (71.237.217.---)
Date: February 03, 2007 06:58AM

wamp does not come with a smtp server to send emails from. however, you can send emails using a killer free opensource php class called phpmailer.

[phpmailer.sourceforge.net]

phpmailer is a way more secure and easier way to adding email support to your scripts. there are also many tutorials and examples to learn how to use the class.

CyberSpatium
WAMP English Forum Admin
--------------------------------------

like my free support, help support me by checking out my website here:
www.AnyRingTone.net

Options: ReplyQuote
Re: Email form- SMTP setting
Posted by: Mansell (---.whoc.theplanet.co.uk)
Date: February 03, 2007 11:14AM

Thanks for your reply, instead using phpmailer can I use php mail() function to send email, if so what kind of config. I need to make.
thanks
Mansell

Options: ReplyQuote
Re: Email form- SMTP setting
Posted by: CyberSpatium (71.237.217.---)
Date: February 03, 2007 11:47PM

using the phpmailer class is going to be a much more secure way of sending email then just using php mail() function. if you choose to use php mail() make damn sure you are the only one using it, not some spammer exploiting some lack security in your php code.

here is the line in your php.ini file to configure php mail():

[mail function]
; For Win32 only.
SMTP = smtp.YourISPHere.com

; For Win32 only.
sendmail_from = YourEmailAddresHere@YourISPHere.com

to learn more about sesuring your php scripts check out this book from my favorite publshiler APress called Pro PHP Security

Pro PHP Security
from APress

More Info:
[apress.com]

I happen to have a PDF copy of this book you can download here:

Download Here:
[rapidshare.com]



CyberSpatium
WAMP English Forum Admin
--------------------------------------

like my free support, help support me by checking out my website here:
www.AnyRingTone.net

Options: ReplyQuote
Re: Email form- SMTP setting
Posted by: Mansell (---.whoc.theplanet.co.uk)
Date: February 04, 2007 09:58AM

Thank you, very useful info.

Options: ReplyQuote
Re: Email form- SMTP setting
Posted by: fhzaki (60.49.175.---)
Date: February 15, 2007 04:31AM

Hi,

This conversation is very useful for me.

TQ



Hi, i am Zaki from Malaysia, nice to meet u. winking smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.