LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2008, 02:02 AM   #1
mhoqchy
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
PHP problems


Friends,
Can anyone help me how to send mail from PHP by authenticating SMTP server and how can i configure php for sending mail.Please help me by sending the appropriate code.It's urgent!
Muhib
 
Old 07-14-2008, 02:39 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
php on *nix systems uses the sendmail binary, which does not support SMTP AUTH. You need to have your MTA perform that function.

Which MTA are you using?

You'd better be patient; this will most likely take you some time.
 
Old 07-15-2008, 06:24 AM   #3
bnettles
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
PHP and SMTP Authentication

When I was dealing with this, I concluded that conceptually what you need to do is configure Sendmail to autoforward to the SMTP Server. Your PHP should out of the box already communicate sending email through sendmail based on the default settings in the php.ini file. You are not going to get PHP to communicated directly with the SMTP server. However, you can configure Sendmail to do so.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with PHP file functions... (many problems) enigma_0Z Programming 1 04-22-2006 07:15 AM
More PHP problems :( arichardson Linux - Software 1 11-21-2005 03:24 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
problems with php jogurt666 Linux - Software 12 11-17-2003 05:07 AM
PHP Problems Savedadogs Linux - Software 4 04-24-2002 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration