Sent mail ??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
faizpayi
Forum Newbie
Posts: 14
Joined: Tue Oct 05, 2010 1:24 am

Sent mail ??

Post 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
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Sent mail ??

Post by requinix »

Yeah... You'll have to be much more specific. What button? What email? What user?
faizpayi
Forum Newbie
Posts: 14
Joined: Tue Oct 05, 2010 1:24 am

Re: Sent mail ??

Post 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.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Sent mail ??

Post 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.
faizpayi
Forum Newbie
Posts: 14
Joined: Tue Oct 05, 2010 1:24 am

Re: Sent mail ??

Post by faizpayi »

Can anyone help me with the configuration of php to point an external serveR?
Post Reply