it should be simple php-code

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

hbraekke
New php-forum User
New php-forum User
Posts: 2
Joined: Mon Sep 09, 2013 10:19 am

it should be simple php-code

Postby hbraekke » Mon Sep 09, 2013 10:23 am

mail("hbraekke@gmail.com","My subject","text") or die("error");

but it die with the error-message. Can someone help me please

paintitblack
New php-forum User
New php-forum User
Posts: 8
Joined: Mon Feb 17, 2014 8:53 pm

Re: it should be simple php-code

Postby paintitblack » Mon Feb 17, 2014 9:11 pm

You are not specifying the send from email address, which is usually part of the email headers in the fourth parameter.


Return to “PHP coding => General”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest

cron