Linode Forum
https://forum.linode.com/

mail won'twork...
https://forum.linode.com/viewtopic.php?f=11&t=7743
Page 1 of 1

Author:  Terwax1 [ Thu Sep 15, 2011 3:42 am ]
Post subject:  mail won'twork...

Quote:
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 admin@terwax.com.

Oh and i use google apps, so gmail for mail.

Author:  Gazimoff [ Thu Sep 15, 2011 6:19 pm ]
Post subject: 

You need to tell your linode how to send mail. This depends on your flavour of linux, but there's an example here:

http://library.linode.com/email/exim/se ... 0.04-lucid

Php should then be able to send mail.

Author:  Terwax1 [ Sat Sep 17, 2011 1:24 am ]
Post subject: 

I already use google apps, isn't that enough?

the test worked but it was sent to my hotmail junk :(

Author:  hybinet [ Sat Sep 17, 2011 2:40 am ]
Post subject: 

Google Apps is for incoming mail, and any mail that you personally send. Automated sending from your website is a different problem. Some web apps can be configured to send e-mails through your Google Apps account, but most apps can't.

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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/