Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Mar 06, 2009 10:23 am 
Offline
Newbie

Joined: Fri Feb 27, 2009 10:11 am
Posts: 3
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.


Top
   
 Post subject:
PostPosted: Fri Mar 06, 2009 6:19 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group