Hi All,
Hope you can help. I've just purchased vb and installed it and everything is work absolutely great apart from one small issue.
New users are not receiving the activation emails because some filters my host has in place but i'm hoping there is a quick fix for this.
I get notifications that a new user has registered which is sent from [email protected] to [email protected]. So if a user registers with an email address other than using the @littlewales.com domain it's not being sent.
I've contacted the host and this is the 1st reply I received:
I find this strange as the activation emails should be sending from [email protected] to the user. As admin I get the new user email notification.
I then had this following reply from the hosts which is confusing me.
I can't access the .ini file so do I really have to hack the code to get this working?
Thanks for your assistance.
Regards,
Paul
Hope you can help. I've just purchased vb and installed it and everything is work absolutely great apart from one small issue.
New users are not receiving the activation emails because some filters my host has in place but i'm hoping there is a quick fix for this.
I get notifications that a new user has registered which is sent from [email protected] to [email protected]. So if a user registers with an email address other than using the @littlewales.com domain it's not being sent.
I've contacted the host and this is the 1st reply I received:
Every script that does generate an email on Fasthosts web severs must follow these rules:
- The from and the to address must be specified
- Both must contain valid email addresses
- At least one of those email addresses, either the from or the to must be a valid and existing Fasthosts email address
Specifically to the formmail.pl forms, please note that most of the scripts available to download around the Internet do use sendmail as a mail program. Note that sendmail is only available on Linux server so if you try to run this script on a windows domain it will not work.
- The from and the to address must be specified
- Both must contain valid email addresses
- At least one of those email addresses, either the from or the to must be a valid and existing Fasthosts email address
Specifically to the formmail.pl forms, please note that most of the scripts available to download around the Internet do use sendmail as a mail program. Note that sendmail is only available on Linux server so if you try to run this script on a windows domain it will not work.
I then had this following reply from the hosts which is confusing me.
The problem that you are encountering with your forum is due to a setting in the PHP.ini which sets the From Address in the script to [email protected]
This is the address that is used by the SMTP server to check the validity of the email, as stated in the previous email.
You will need to add the following line of code to the forum email script to change the email address in the PHP.ini for this script.
e.g.
<?php
ini_set("sendmail_from", " [email protected]"); //set from address
mail("[email protected]", "Testing PHPs mail function", "Line 1\nLine 2\nLine 3"); //send email
?>
This is the address that is used by the SMTP server to check the validity of the email, as stated in the previous email.
You will need to add the following line of code to the forum email script to change the email address in the PHP.ini for this script.
e.g.
<?php
ini_set("sendmail_from", " [email protected]"); //set from address
mail("[email protected]", "Testing PHPs mail function", "Line 1\nLine 2\nLine 3"); //send email
?>
Thanks for your assistance.
Regards,
Paul
Comment