close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Universal Email not sending mail - PHP

Thread began 2/07/2012 10:11 am by Nathon Jones Web Design | Last modified 5/03/2012 8:09 am by john70964 | 1977 views | 6 replies |

Nathon Jones Web Design

Universal Email not sending mail - PHP

Does anyone know why our Universal Email script would have suddenly stopped sending:
contact.php

I attach the contact.php page and also the files within the WA_Universal_Email directory.

Thank you.
N Jones.

Attached Files
EmbtechPHPMailProblem.zip
Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Nathon Jones Web Design

X-Mailer

Hi Jason,

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.
Nath.

Sign in to reply to this post

Jason ByrnesWebAssist

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.

Sign in to reply to this post

Nathon Jones Web Design

details

Hi Jason.

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:
?article_id=70

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.

Thanks.
Nath.

Sign in to reply to this post

Jason ByrnesWebAssist

according to that link, you will need to add the following code to line 1 of the page:

php:
<?php 

ini_set
("sendmail_from""user@yourdomain.com"); 
?>



where user@yourdomain.com 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 user@yourdomain.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.

Sign in to reply to this post

john70964

Entered in error

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...