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

the mail() function

Moderators: egami, macek, gesf

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

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:

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