Re: [PHP] Pear Mail - Trap for errors?

2012-11-16 Thread tamouse mailing lists
On Thu, Nov 15, 2012 at 9:52 AM, Rick Dwyer wrote: > Same result… which is to say no error returned even for messages sent with no > email in the to address field. Okay, that is odd. If I try it with a blank I get a failure saying that it has a bad address. See: https://gist.github.com/4085385

Re: [PHP] Pear Mail - Trap for errors?

2012-11-15 Thread Rick Dwyer
On Nov 14, 2012, at 10:48 PM, tamouse mailing lists wrote: > On Wed, Nov 14, 2012 at 7:19 PM, Rick Dwyer wrote: >> Hello all. >> >> I have some Pear Mail code composing an email and sending it to an external >> smtp server for sending. >> >> The issue is determining whether that external ser

Re: [PHP] Pear Mail - Trap for errors?

2012-11-14 Thread tamouse mailing lists
On Wed, Nov 14, 2012 at 7:19 PM, Rick Dwyer wrote: > Hello all. > > I have some Pear Mail code composing an email and sending it to an external > smtp server for sending. > > The issue is determining whether that external server actually accepted the > mail or not. In the IF(PEAR… code below, i

[PHP] Pear Mail - Trap for errors?

2012-11-14 Thread Rick Dwyer
Hello all. I have some Pear Mail code composing an email and sending it to an external smtp server for sending. The issue is determining whether that external server actually accepted the mail or not. In the IF(PEAR… code below, it will return success even if I leave the $to value empty. Ho

Re: [PHP] PEAR Mail $obj->send()

2011-07-08 Thread Jim Lucas
On 7/8/2011 9:50 AM, Brian Smither wrote: > A client has: > PHP 5.3 on Win7x64 running a local web app that needs to send mail. > (This app was once hosted on a linux-based hosted space.) Apache 2.2 > is installed but apparently not being used. I think the IIS service > is actually the web serve

[PHP] PEAR Mail $obj->send()

2011-07-08 Thread Brian Smither
A client has: PHP 5.3 on Win7x64 running a local web app that needs to send mail. (This app was once hosted on a linux-based hosted space.) Apache 2.2 is installed but apparently not being used. I think the IIS service is actually the web server that is engaged. During troubleshooting a wide ra

Re: [PHP] pear Mail/Mime problem on new Ubuntu Linux server

2008-12-09 Thread Eric Butera
On Tue, Dec 9, 2008 at 6:57 AM, German Geek <[EMAIL PROTECTED]> wrote: > Hi All, > > Can someone think of a reason why when changing from a Windows 2003 Web > Edition server running PHP 5.2 to a Ubuntu machine, also with PHP 5.2 can > cause the following problem: > > The emails sent from the server

Re: [PHP] pear Mail/Mime problem on new Ubuntu Linux server

2008-12-09 Thread Richard Heyes
> Might it be the Unix newline characters? Unlikely, IIRC the PEAR mime stuff uses \r\n (ie Windows). Try using the htmlMimeMail5 code here: http://www.phpguru.org/downloads/html.mime.mail/htmlMimeMail5/ -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (U

[PHP] pear Mail/Mime problem on new Ubuntu Linux server

2008-12-09 Thread German Geek
Hi All, Can someone think of a reason why when changing from a Windows 2003 Web Edition server running PHP 5.2 to a Ubuntu machine, also with PHP 5.2 can cause the following problem: The emails sent from the server, which should be in HTML format (the client wanted this specifically) now only sho

Re: [PHP] pear mail() verses net-smtp()

2008-11-26 Thread Chris
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use

Re: [PHP] pear mail() verses net-smtp()

2008-11-26 Thread Chris
Al wrote: Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. Pear mail puts everything together and if necessary uses net_smtp to send it. If you want to have to build the emails yourself, you can do it and then use

[PHP] pear mail() verses net-smtp()

2008-11-26 Thread Al
Anyone have opinions on these two mail functions for sending smtp emails, pear mail() verses net-smtp()? Which is best, etc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Richard Lynch
On Wed, January 3, 2007 4:29 am, Emil Edeholt wrote: > I can of course tell Thunderbird that something is not spam, but I > don't > want all of my users to have to do that for every mail I send via > pear. > Maybe I haven't included some header non-spam usually have or > something? > Did my script

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 04:42:05 -0800: > On 1/3/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote: > >. > >Then again, AFAIK all recipients used either mutt or outlook. > > Now that is a very disperse audience, The reports went to two types of people: admins and managers. > i never see mut

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Curt Zirzow
On 1/3/07, Roman Neuhauser <[EMAIL PROTECTED]> wrote: . Then again, AFAIK all recipients used either mutt or outlook. Now that is a very disperse audience, i never see mutt mentioned often. Curt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Curt Zirzow
On 1/3/07, Emil Edeholt <[EMAIL PROTECTED]> wrote: Roman Neuhauser wrote: But I'll look for a log file. Maybe there are something hidden below the gui. >> Maybe I haven't included some header non-spam usually have or something? >> > > How are we supposed to know? Should we read Thunderbird's sou

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 13:16:17 +0100: > Roman Neuhauser wrote: > >That's not what I asked. Does Thunderbird tell you why it marked > >something as spam? If it does, use that information. If it does not, > >you're crazy for using it. Either way, your question belongs into a > >Thunderbird

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt
Roman Neuhauser wrote: That's not what I asked. Does Thunderbird tell you why it marked something as spam? If it does, use that information. If it does not, you're crazy for using it. Either way, your question belongs into a Thunderbird mailing list, along with the exact full message. Full means

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Strong Cypher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Could you send us header of your mail please, just to see the prob Perhaps problem in sender : "[EMAIL PROTECTED]" Or domain who send the mail : "localhost.localdomain" I don't really know how thunderbird find some spam, that's why I prefer use kma

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
Don't toppost. Preserve (just) enough context to make the mail comprehensible by someone who doesn't know the previous emails. Thanks. # [EMAIL PROTECTED] / 2007-01-03 11:14:27 +0100: > When I send mail via PEARs Mail class they are sorted as spam by > Thunderbird. Do you have any ideas why? I c

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Jochem Maas
Emil Edeholt wrote: > Are you sure? The email is very short and is something like this (but in yes I'm sure. Thunderbird knows nothing about your script (not even that it exists), all it sees is the 'envelope' (headers et al) and the content of the email. it might be purely the fact that the ema

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Stut
Emil Edeholt wrote: I can of course tell Thunderbird that something is not spam, but I don't want all of my users to have to do that for every mail I send via pear. Maybe I haven't included some header non-spam usually have or something? Did my script look all okey? Let's all take a moment an

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt
Are you sure? The email is very short and is something like this (but in swedish): Hello, Your order is now available. Regards Emil Jochem Maas wrote: it's not the script. it's the content of the email (possibly in conjunction with 'bad' mail headers, etc) -- Hälsningar Emil Edeholt Ka

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Jochem Maas
Emil Edeholt wrote: > Hi, > > I can of course tell Thunderbird that something is not spam, but I don't > want all of my users to have to do that for every mail I send via pear. > Maybe I haven't included some header non-spam usually have or something? > Did my script look all okey? it's not the s

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt
Hi, I can of course tell Thunderbird that something is not spam, but I don't want all of my users to have to do that for every mail I send via pear. Maybe I haven't included some header non-spam usually have or something? Did my script look all okey? Emil Roman Neuhauser wrote: Surely Thun

[PHP] PEAR mail sorted as spam

2007-01-03 Thread Emil Edeholt
Hi, When I send mail via PEARs Mail class they are sorted as spam by Thunderbird. Do you have any ideas why? I can't figure it out. function send_mail($to,$from,$subject,$body) { $recipients = $to; $headers = array(); $headers['From']= $from; $headers['To'] = $to;

Re: [PHP] PEAR mail sorted as spam

2007-01-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 11:14:27 +0100: > When I send mail via PEARs Mail class they are sorted as spam by > Thunderbird. Do you have any ideas why? I can't figure it out. Surely Thunderbird provides an interface to query and modify its spam filters? Or is it an automated email black hol

[PHP] PEAR mail

2004-11-08 Thread marc serra
hi, i'm using Mail PEAR package and i want to send a mail to a recipient and to some other in Cc. So i try to add Cc in header but it failed and mail didn't been delivered to Cc. It was only delivered to adress specified in From field. I use that code : $hdrs = array( "From

Re: [PHP] PEAR Mail/smtp sending problem

2004-05-31 Thread Burhan Khalid
Christopher J. Mackie wrote: I'm following the PEAR docs to use Mail/SMTP. Below is the code I use, swiped directly from the docs--I've changed the authorization data to protect privacy, but otherwise it's identical (and email sent from a client on this same machine using the same settings works fi

[PHP] PEAR Mail/smtp sending problem

2004-05-30 Thread Christopher J. Mackie
I'm following the PEAR docs to use Mail/SMTP. Below is the code I use, swiped directly from the docs--I've changed the authorization data to protect privacy, but otherwise it's identical (and email sent from a client on this same machine using the same settings works fine). I'm running PHP 4.3.6 I

[PHP] PEAR::MAIL Problem

2004-02-19 Thread Stanley Chan
Dear Listmates, I am using PEAR::MAIL and my code includes the below; // Send Email Out $mailCfg = array( "host" => "127.0.0.1", "port" => "25", "auth" => false ); $mailRecipient = $hashValue["emailaddress"]; $mailHeader = array(