Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
You need to declare all your headers just like a normal mail but now as variable names eg $to = 'someone@example.com $subject = 'Your Subject' $message = 'Hello World!' $headers = 'From: mzito@example.com' \r\n Then take your variables and put them in the mail() function Not everything required in my answer may have been included because I haven't tried it yet but I'm sure it'll be of some help.
10th Nov 2019, 4:11 AM
SUPERFLY🦅
SUPERFLY🦅 - avatar