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

Debian / php mail() / apt-get install sendmail fails
https://forum.linode.com/viewtopic.php?f=11&t=3960
Page 1 of 1

Author:  linodevirgin [ Fri Mar 06, 2009 10:23 am ]
Post subject:  Debian / php mail() / apt-get install sendmail fails

So I want to use mail() function in PHP. Does it come with default debian install or do I have to install sendmail or that?

Anyways I tried and I get this.....

/>apt-get install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sendmail: Depends: sendmail-bin but it is not going to be installed
E: Broken packages



mail() function returns 1 meaning it was successful however no email is received.

Author:  hybinet [ Fri Mar 06, 2009 6:19 pm ]
Post subject: 

Run apt-get update before trying to install anything new.

If somehow sendmail doesn't work for you, postfix is just as good and possibly more secure as well.

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