RE: [PEAR] PEAR Mail package

From: Date: Sat, 01 Mar 2008 14:59:36 +0000
Subject: RE: [PEAR] PEAR Mail package
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28590@lists.php.net to get a copy of this message
Hi Erik, Welcome to the pear list. This is a pretty good place to ask pear related questions. First off have you checked out this documentation here? http://pear.php.net/manual/en/package.mail.mail.factory.php Generally most Pear packages have some working examples in the /[INSTALL DIRECTORY]/PEAR/docs folder, I looked to see if I had one for mail, but didn't see one. I did a quick google for Pear Mail Tutorial: http://email.about.com/od/emailprogrammingtips/qt/et073006.htm That's a quick tutorial that should get you up and running. Best of luck, feel free to ask more questions once you get this up and running. Mark -----Original Message----- From: Erik SJMN [mailto:erik.sjmn@gmail.com] Sent: Friday, February 29, 2008 7:33 PM To: pear-general@lists.php.net Subject: [PEAR] PEAR Mail package Please let me know if I need to send this to the php-general@lists.php.netmailing list instead. I'm completely new to php and I'm trying to setup an online trouble ticket system. After the user logs in and submits the ticket, they're supposed to receive an email confirmation with the ticket number. I have my Exchange server setup on another server in the same domain that I'm trying to use to send these emails - this server requires SMTP authentication. So I've installed the PEAR Mail package, as it was my understanding that this would allow me to do the authentication for the SMTP server - I installed it in the C:\PHP5\PEAR directory. How do I manage this mail package? How do I setup my auhthentication? Do I need the mail_smtp or the net_smtp class? I tried adding the authentication vars to the smtp.php file in the C:\PHP5\PEAR\Mail directory, but still not authenticating. I'm completely lost, any help is greatly appreciated. ; PHP 5.2.5 installed on Windows Server 2003 with IIS 6 ; Mail-1.1.14 mail pkg with Net_SMTP-1.2.11 pkg --Erik

« previous php.pear.general (#28590) next »