Hey guys, got a new problem I'm hoping someone can help with. I've searched all over the net but have yet to find anyone else with exactly my problem.
I've just tested out DD-Formmailer and after the first configuration everything worked fine (used my personal email address to test the form out on). Then, I swapped the
// RECIPIENT DATA
// If you are just sending email to a single address, enter it here. For more advanced
// usage such as multiple recipients, CC, BCC, etc.. please see the web page for instructions
$recipients = 'youremail@yourdomain.com';
out for the business email. Our website and web based mail we're using for the business is with Godaddy... Windows Shared Hosting account.
Next, I put the business email address in
// AUTO REPLY OPTION
// This optional feature allows you to automatically send a pre-defined auto reply email.
// To use it, simply specify the name and email address you want the message to be 'from',
// as well as a subject and message. To disable, just leave $auto_reply_message blank.
// You use field names in the message - they will be replaced with the user input from those fields.
$auto_reply_name = 'Business Name';
$auto_reply_email = 'youraddress@yourdomain.com';
$auto_reply_subject = 'Your request for contact!';
$auto_reply_message = 'Thank you for requesting Business Name to contact you. We have received your message and will contact you soon.';
So that for both where the submitted form would send to, and what the reply address would be if they hit "reply" on their email, was the same.... our businessemail@yourdomain.com.
When I did that, I saved the .php file using Dreamweaver, uploaded it to my server, refreshed the page, and tried to submit a form. Then I got this error on the web page:
"Warning: mail() [function.mail]: SMTP server response: 553 sorry, your mail was administratively denied. (#5.7.1) in D:\Hosting\3339991\html\testing\dd-formmailer.php on line 676"
So, I pulled up Dreamweaver again, looked on line 676 and found this:
$send_status = mail($send_to, $email_subject, $msg, $headers);
I'm no coder, and don't know PHP (anything I've done, was just from following directions mainly). I did a search on the net, and most people kept talking about the error was with the $headers so I searched in my source code, and here's all the information I have for $headers:
$headers = '';
$msg = '';
$headers .= 'From: ' . $sender_name . ' <' . $sender_email . '>' . PHP_EOL;
$headers .= $extra_recips;
$headers .= 'Reply-To: ' . $sender_name . ' <' . $sender_email . '>' . PHP_EOL;
$headers .= 'Return-Path: ' . $sender_name . ' <' . $sender_email . '>' . PHP_EOL;
$headers .= "Message-ID: <" . time() . "ddfm@" . $_SERVER['SERVER_NAME'] . ">" . PHP_EOL;
$headers .= 'X-Sender-IP: ' . $_SERVER["REMOTE_ADDR"] . PHP_EOL;
$headers .= "X-Mailer: PHP v" . phpversion() . PHP_EOL;
$headers .= 'MIME-Version: 1.0' . PHP_EOL;
// $headers .= 'Content-Type: multipart/related; boundary="' . $mime_boundary . '"';
$headers .= 'Content-Type: multipart/mixed; boundary="' . $mime_boundary . '"';
Thank you for taking the time to read this and hopefully provide some help. I have access to my CP on Godaddy and as of today have PHP 5 on my server. Please let me know if any more information is needed.
Chance