Forum Moderators: coopster

Message Too Old, No Replies

How to set up SMTP to send mail in Xampp

         

web princess

5:52 pm on Oct 1, 2008 (gmt 0)

10+ Year Member



Hi,
I am trying to create a php registration form such as the most forms we encounter when we want to register somewhere. In this form I want the user to fill in their email address and when they click on "submit" then a message would arrive in their inbox, using the function mail().

I use xampp (basic package) version 1.6.7 on Windows XP SP3.

My problem is how exactly I should set up SMTP.
I want to use Gmail as an external SMTP server. So do I change php.ini and sendmail.ini? And if I do so which fields should I change and to what values?

coopster

12:51 pm on Oct 2, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, web princess.

There is an older thread in our PHP Forum Library [webmasterworld.com] that has some configuration information in regards to mail settings on Windows. The configuration directives are commented there and still apply the same today.

[webmasterworld.com...]