mail won'twork...
> From %%%%%
Posted Tuesday, 06 September 2011
Subject Error sending email
Message
An error was encountered when sending the user registration email. The error is: Could not instantiate mail function. The user who attempted to register is: %%%%%%
I am running on linode ubuntu 10.04 LTS. Before i was with hostgator and everything would work as norm. I am using php for the main under global config and using
Oh and i use google apps, so gmail for mail.
3 Replies
Php should then be able to send mail.
the test worked but it was sent to my hotmail junk
In order to prevent major e-mail services from treating your automated messages as spam, you'll need to do a few things.
Add your server's address to your domain's SPF record.
Make sure that your server's mailname is identical to the reverse DNS entry for your IP address.
Never use anything other than your own admin e-mail address (belonging to the same domain as the website) in the "From" field.
You may still need to ask a few users to click "Not Spam", so that the e-mail service's spam filter knows what to do.