[FX.php List] email() Set up: fx.hp, php.ini or OS X Server?
Joel Shapiro
jsfmp at earthlink.net
Mon Sep 11 13:45:40 MDT 2006
Hey Jonathan
Not sure if this is relevant in your situation, but it's a response I
got when looking to be able to send mail using SMTP authentication.
It's a class that allows SMTP not just in Windows (and without having
to install/learn PEAR). I haven't tried it yet...
> On Jul 31, 2006, at 1:54 PM, Carmen Mercer wrote:
>
>> I am using PHPMAILER, a freely available email class for PHP.
>>
>> http://phpmailer.sourceforge.net/
>>
>> It has support for SMTP authentication.
>>
>> -Carmen
>
> ...
>
> from its site:
> "PHP email transport class featuring multiple file attachments,
> SMTP servers, CCs, BCCs, HTML messages, and word wrap, and more. It
> can send email via sendmail, PHP mail(), or with SMTP. Methods are
> based on the popular AspEmail active server component."
>
> Best,
> -Joel
On Sep 11, 2006, at 11:52 AM, DC wrote:
> nope, smpt option in mail() is only for windows - see the php
> manual. i meant using an external script like the one in the PERA
> libraries to do proper multi-platform SMTP. unless of course you
> are in windows and that's all you care to get working _ i can't say
> i've used those features of mail() since I don't have a windows
> server.
>
> dan
>
> On Sep 11, 2006, at 1:42 PM, Jonathan Schwartz wrote:
>
>> I think that that means to use the SMTP option in email(), right?
>> And I can do that by either setting the variable option at the
>> time of send , or modifying the php.ini.
>>
>> Is that right?
>>
>> J
>>
>>
>> At 1:24 PM -0400 9/11/06, DC wrote:
>>> I just use SMTP to authenticate outbound emails which puts all
>>> the right information in the headers.
>>>
>>> I've used the PEAR email class for this, but there are many email
>>> scripts out there that can show you how to do SMTP sending
>>> without the overhead of a big old PEAR lib.
>>>
>>> http://pear.php.net/package/Mail
>>>
>>> dan
>>>
>>> On Sep 11, 2006, at 1:05 PM, Jonathan Schwartz wrote:
>>>
>>>> I need to set up mail() to work properly on my server. It works
>>>> now, but I know that it is not set up properly, and will
>>>> probably run afoul of spam filters.
>>>>
>>>> I'm not sure if this is an fx.php coding issue, a PHP.ini issue
>>>> or an OS X Server/Apache issue.
>>>>
>>>> This is the header of emails as they arrive today:
>>>>
>>>> Return-Path: <www at localhost.localhost>
>>>> Received: from localhost (66.116.103.150) by exit445.com with
>>>> ESMTP (Eudora
>>>> Internet Mail Server X 3.2.4) for <jonathan at exit445.com>;
>>>> Sun, 27 Aug 2006 06:43:38 -0700
>>>> Received: by localhost (Postfix, from userid 70)
>>>> id F0670CDA95; Sun, 27 Aug 2006 06:43:37 -0700 (PDT)
>>>> To: jonathan at exit445.com
>>>> Subject: Blah Blah Subject
>>>> From: admin at exit445.com
>>>> Message-Id: <20060827134337.F0670CDA95 at localhost>
>>>> Date: Sun, 27 Aug 2006 06:43:37 -0700 (PDT)
>>>>
>>>> The environment is as follows:
>>>> OS: OS X Server 10.4.6
>>>> MailServer Eudora (EIMS) (Not using OS X mail application)
>>>> DefaultDomain exit445.com
>>>>
>>>> It looks like I have to define:
>>>> - local host
>>>> - return path
>>>> - userid = 70? That's the ID for root on the OX Server,
>>>> I think.
>>>>
>>>> Normally, I could work thru this, but with three different
>>>> places to make changes, I thought I should ask. I'd like not to
>>>> upset the production mail server. ;-)
>>>>
>>>> Thanks very much.
>>>>
>>>> Jonathan
>>>> --
>>>>
>>>> Jonathan Schwartz
>>>> FileMaker 8 Certified Developer
>>>> Associate Member, FileMaker Solutions Alliance
>>>> Schwartz & Company
>>>> jonathan at eschwartz.com
>>>> http://www.eschwartz.com
>>>> http://www.exit445.com
>>>> 415-381-1852
>>>>
>>>> _______________________________________________
>>>> FX.php_List mailing list
>>>> FX.php_List at mail.iviking.org
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>> --
>>
>> Jonathan Schwartz
>> FileMaker 8 Certified Developer
>> Associate Member, FileMaker Solutions Alliance
>> Schwartz & Company
>> jonathan at eschwartz.com
>> http://www.eschwartz.com
>> http://www.exit445.com
>> 415-381-1852
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list