Bruce Gust
asked on
What have I got to do to get this email script to work?
When I use the following script, I get the email but there's two things that need to change:
First off, I need a correct "From." Right now, it just says "Apache."
The other thing I want to do is incorporate some HTML within the body of the email itself. I know this requires some headers and I've played with some stuff, but I just need a mind greater than my own to show me how to change what I have so it accommodates the "from" as well as some HTML content.
Thanks!
Here's my script:
First off, I need a correct "From." Right now, it just says "Apache."
The other thing I want to do is incorporate some HTML within the body of the email itself. I know this requires some headers and I've played with some stuff, but I just need a mind greater than my own to show me how to change what I have so it accommodates the "from" as well as some HTML content.
Thanks!
Here's my script:
$admin_email = "bruce.gust@verizonwireless.com, bruce@brucegust.com";
$email = "bruce@brucegust.com";
$subject = "bring it!";
$comment = "I'm hoping that this works!";
//send email
mail($admin_email, $headers, $subject, $comment, "From:" . $email);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.