Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

it should be simple php-code

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
hbraekke
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Sep 09, 2013 10:19 am

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.
paintitblack
New php-forum User
New php-forum User
 
Posts: 8
Joined: Mon Feb 17, 2014 8:53 pm


Return to PHP coding => General

Who is online

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

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron