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

User Registration Solution Pack

Thread began 3/04/2010 10:22 pm by Gizza372666 | Last modified 4/05/2010 3:39 pm by Gizza372666 | 3004 views | 25 replies

mick358555Beta Tester

Another Possible cause?

Originally Said By: Eric Mittman
  I'm glad to hear that things are now working out better. For any others that find this thread the default file is the one that you download in the User Registration Solution Pack, this is the version of the helper file you should be using.  



My problem was that the verification email was not sent after a user registered with the website. (user_Registration.php). The problem was due to a 'fix' my ISP had made to the hosting servers.

----ISP Fix-------
To stop misuse of your form by third parties the sendmail_from variable should be set to your <My ISP's name> hosted email address. This is usually configured in the php.ini file which is restricted on our shared servers, however you can sent this variable using the ini_set() command, shown here; ini_set("sendmail_from", " you@yourdomain.com ");

• A fifth parameter -f should be added to the sendmail function. This will set the name of the from email address.

In its basic form, a simple sendmail script will look like this:

ini_set("sendmail_from", " you@yourdomain.com ");
mail($email_to, $email_subject, $email_message, $headers, '-fyou@yourdomain.com');
-----End ISP Fix---------

So I just amended the following line of code;

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

in the WA_SecurityAssist\Mail_PHP.php file and WA_Universal_Email\mail_PHP.php files

to be:

$mailObj = mail($mailTo,$mailSubject,$mailContent,$mailHeader, '-finfo@mydomain.co.uk');

where mydomain is my domain.

WebAssist you might consider making this a GLOBAL variable? in a future release, as this is now a must when Linux servers are updated from PHP 4 to PHP 5 (at least that what my ISP says ;-)

Hope this helps others.

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