Universal Email not sending mail - PHP
Does anyone know why our Universal Email script would have suddenly stopped sending:
I attach the contact.php page and also the files within the WA_Universal_Email directory.
so it was working before and has now stopped sending the email? I would suspect an issue with the smtp server, check with your host to see if they can look into the smtp server error logs to see why the emails are not being relayed.
Can't get the form working and the host is blaming the script.
I notice that the script asks for X-Mailer as an option. What is that? I currently have that blank.
Appreciate your help, thank you.
Who is your host?
when testing the form, what are you entering for the emailAddress? make sure it is not the same email that is used for the To Address or the BCC address. the host will refuse to relay the message if the from and to address are the same.
when testing the form is it redirecting to the thankyou.php page?
the x-mailier is an optional setting, it is used to set what the mailing client is, Outlook, Thunderbird, etc.
The hosts are Fasthosts Ltd. They have since directed me to the following page on their support site. Is there anything on this page that might be restricting the Universal Email script:
The From address is taken from the form being filled in by the customer and is sent to my clients email address which is on the same domain as the website.
Yes, it's redirecting to the thankyou.php page.
according to that link, you will need to add the following code to line 1 of the page:
where firstname.lastname@example.org is a valid email address for your domain.
also in the Universal Email behavior, you will need to set the From address to use the same email@example.com. you can set the Return address to use the dynamic binding from the form.
in the Email server settings, you will need to check the Send From Address as an Extra parameter option too.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.