vbnullchar Posted July 6, 2007 Share Posted July 6, 2007 i just installed ubuntu 7.04 (LAMP Server).. unfortunately mail function for php is not setup. can u point me to the right direction Quote Link to comment Share on other sites More sharing options...
bibby Posted July 7, 2007 Share Posted July 7, 2007 Hi vbnullchar, locate your php.ini and search for [mail function] Quote Link to comment Share on other sites More sharing options...
vbnullchar Posted July 8, 2007 Author Share Posted July 8, 2007 are saying this part? this is easy if youre using windows server but whit if linux i need to know how to configure the sendmail function. [mail function] ; For Win32 only. ;SMTP = 130.xx.x.x ; for Win32 only ;smtp_port = 25 ;sendmail_from= aa@@vvv.com ; for Win32 only ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = /usr/sbin/sendmail -t -i Quote Link to comment Share on other sites More sharing options...
solarisuser Posted August 17, 2007 Share Posted August 17, 2007 That looks ok to me Visit http://www.php.net and search for the function "mail" to learn the syntax and examples of how to send mail in PHP. It'll just use the sendmail binary to send your mail. If you are behind a firewall, you can setup /etc/mail/sendmail.cf (or /etc/sendmail.cf, not sure) to use a relay. Quote Link to comment Share on other sites More sharing options...
DataRater Posted September 3, 2008 Share Posted September 3, 2008 I've got DELL with Ubuntu 7.10 and sendmail isn't installed. When I try to install it with sudo apt-get install sendmail I get the following message Reading package lists... Done Building dependency tree Reading state information... Done Package sendmail is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package sendmail has no installation candidate Any idea what I should do to get it installed? Quote Link to comment Share on other sites More sharing options...
DataRater Posted September 3, 2008 Share Posted September 3, 2008 I've solved this thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.