simple mail code

the mail() function

Moderators: macek, egami, gesf

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

Re: simple mail code

Post by somdcomputerguy » 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!');

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

Re: simple mail code

Post by johnj » Sun Sep 22, 2013 12:32 am

What is the error that it is returning?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests