simple mail code

the mail() function

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 14
Joined: Tue Oct 04, 2011 6:50 am
Location: West Virginia

Sat Sep 21, 2013 9:11 am

maybe this'll work

Code: Select all

if !mail($email_to, $email_subject, $email_message, $headers) die('error!');

php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sun Sep 22, 2013 12:32 am

What is the error that it is returning?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 1 guest