Problems using mail() to send answers to an html form

the mail() function

Moderators: macek, egami, gesf

Post Reply
KelvinLee18
New php-forum User
New php-forum User
Posts: 36
Joined: Sat Oct 01, 2011 4:44 pm

Re: Problems using mail() to send answers to an html form

Post by KelvinLee18 » Sun Oct 02, 2011 3:29 am

In order to send mail from your server, you have to setup your PHP configuration file(php.ini) for this specific purpose.

Lookup these things in php.ini file
- sendmail_from
- SMTP

:D

Shiftas
New php-forum User
New php-forum User
Posts: 7
Joined: Mon Oct 03, 2011 3:15 am
Location: Lithuania
Contact:

Re: Problems using mail() to send answers to an html form

Post by Shiftas » Mon Oct 03, 2011 4:46 am

You could also use something like phpmailer or swiftmailer. There are nice tutorials how to set them up and they are quite easy to use.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests