Hi there,
I have a script that Emails the user a confimation that an article has been received.
I would like it to Email a static Admin address notifying the article has been posted.
They work independently but not together, any help appreciated..
MAIL Confirmation
$Date = date('jS F Y');
$to = "$Email";
$submailheaders = "From: Grampian Hearing Voices Network <articles@hearing-voices.net>\n";
$submailheaders .= "Reply-To: Grampian Hearing Voices Network <articles@hearing-voices.net>\n";
$submailheaders .= "Return-Path: Grampian Hearing Voices Network <articles@hearing-voices.net>\n";
$subject = "GHVN. RE: $Title";
$message = "Dear $Author
$Title
Thank You for taking the time to write and submit your story
to the Grampian Hearing Voices Website. User contribution and
sharing of experiences is very important to us, we are grateful.
Title: $Title
Author: $Author
Email: $Email
Date: $Date
Ref #: $Page
Best wishes
GHVN Articles Manager.
http://www.hearing-voices.net";
mail($to, $subject, $message, $submailheaders);
#Admin Send
mail ("admin@hearing-voices.net", "GHVN Article Sumitted","test message here",$submailheaders);
Any help appreciated,
Mike