Copy link to clipboard
Copied
I want a visitor to my site to click on a mysql field to send an email with a Bcc to myself also I want the link to show "Send an email" not the email address from the field
Copy link to clipboard
Copied
MySQL is not needed for this. Below I have included all the PHP code necessary for a simple email. You just create an HTML form and include the appropriate fields. So if the form posts to itself, the code goes in a block that is run after post, using "if ($_POST['submit']){ send the email }.
One thing you should do is validate the POST before processing it.
$from="FROM: $visitor_email";
$email_subject="Message from website";
$email_body = "
Name: $name\n
Phone: $phone\n
Email: $email\n
Message: $note\n
";
mail ("$email_public", "$email_subject", "$email_body", "$from");
Copy link to clipboard
Copied
Please do not post the same question in more than one forum. I'm locking this thread. All follow-up should be in http://forums.adobe.com/thread/1078310.