close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UE 3 not sending using PHP mail

Thread began 6/22/2011 4:29 pm by lee341019 | Last modified 6/24/2011 5:14 pm by Jason Byrnes | 1562 views | 12 replies |

lee341019

UE 3 not sending using PHP mail

I cannot get my site to send using UE3. It used to work. My hosting company say nothing has changed. I am not sure where to start looking!! Help!

This is using User Registration Solution Pack.

I have packaged the files if someone could help??

Sign in to reply to this post

Jason ByrnesWebAssist

Who is your hosting company?

What have you entered for the SMTP server in the wa_globals.php file?

are the $WAGLOBAL_Verification_Email_FROM, $WAGLOBAL_Registration_Email_FROM and $WAGLOBAL_Password_Email_FROM all set to valid email addresses from your domain?

in the WA_Universal_Email/mail_PHP.php file, try changing:

php:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader);



to:

php:
$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader, "-f".$mailFrom);




if all of the setting s are verified as correct, and it is still not working, then there is an issue with the smtp server refusing to relay the email for some reason, you will need to contact the host to have them look into the smtp server error logs to see why the relay is failing.

Sign in to reply to this post

lee341019

All values appear valid. Below is reference from Globals file.

php:
$WAGLOBAL_Email_Server = "localhost" ;
Sign in to reply to this post

Jason ByrnesWebAssist

that may or may not work depending on the host.

try leaving the smtp server blank, or check with the host what the correct address to use for the smtp server should be.

Sign in to reply to this post

lee341019

I have tried 'localhost', the ip address (I have a linux VDS) and leaving blank but none work.

I have asked my hosting company to look into it (CWCS in the UK).

Any other ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

if all of the settings are verified as correct, and it is still not working, then there is an issue with the smtp server refusing to relay the email for some reason, you will need to contact the host to have them look into the smtp server error logs to see why the relay is failing.

Sign in to reply to this post

lee341019

thanks anyway for your help.

Sign in to reply to this post

lee341019

I now have the mail working, but have another problem.

When a use registers, I get sent an email with their details, which is fine, but the email which the new user receives (to verify their email address) contains no body, just a subject line, so they cannot verify the account. Help!

users_Registration.php

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the users_Registration.php file in a zip archive so i can look at the code.

Sign in to reply to this post

lee341019

attached. Thanks

Attached Files
users_Registration.zip
Sign in to reply to this post
loading

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