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

    Doh, forgot to mention... the first error I got when starting up the DD-formmailer.php was:

    "Warning: mail() [function.mail]: SMTP server repsonse: 451 See http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\3339991\html\testing\dd-formmailer.php on line 676"

    Which I found the solution was that all of the \n had to be \r\n... I had 88 area's where \n was set in the source code without the \r ahead of it.... I changed all that over to reflect \r\n in every area where needed.

    Just now, I changed the email address' (again) but this time instead of my yahoo email address or my business address (with Godaddy as the email provider), I used my comcast.net email.. with that, I ended up getting the server response: 451 again... even though all fields were \r\n.

      And... while we're on the topic of things messing up... with this same code, I've now got a totally messed up 'required' astrix... best example I can give is to visit the two websites.

      #1 What it's supposed to look like: http://testing.lift4ullc.com/dd-formmailer.php

      #2 What it's looking like... fresh out of the unzip: http://test.lift4ullc.com/dd-formmailer.php

      The reason for this, is that I created a new subdomain on my web server, and was going to set up the options one by one to see where I went wrong. I unzipped, uploaded everything to the server, and didn't change one option, and as you can see in #2 instead of the red astrix marking it as "required" I get in red DDFM_REQUI. I'm completely confused 🙁 And still now idea how I will get the form into my actual website (this is the 'offline' work in progress) http://testing.lift4ullc.com/index2.php

        Have switched back over to an HTML form calling gdform.php with captcha... please disregard this topic.

          Write a Reply...