Page 1 of 1

Sent mail ??

Posted: Thu Oct 07, 2010 2:15 am
by faizpayi
Hi,

When i click on a button i want a mail to be sent to ta particular user.Is it possible?I am hosting the site in IIS^ server.I would be thankful if you could tell me the iis configuration also so that I can cross check it here.

Thanks in Advance


FAiz

Re: Sent mail ??

Posted: Thu Oct 07, 2010 2:25 am
by requinix
Yeah... You'll have to be much more specific. What button? What email? What user?

Re: Sent mail ??

Posted: Thu Oct 07, 2010 2:57 am
by faizpayi
the scenario is as follows.I have a form which fills some information.When i click on send button a mail to should go to the user faizpayi@gmail.com.The from user can be predefined .We can specify the from users credentials in the script if needed.

Re: Sent mail ??

Posted: Thu Oct 07, 2010 3:33 am
by requinix
Then just about any tutorial about sending email with PHP will do the job. What you have is pretty close to a contact form in that you fill in a form and send the information to an email address.

Google is your friend. It'll be harder for you, on a Windows machine, because you'll need to (a) set up a mail server if you don't have one already, or (b) configure PHP to use an external server.

Re: Sent mail ??

Posted: Thu Oct 07, 2010 4:52 am
by faizpayi
Can anyone help me with the configuration of php to point an external serveR?