Re: Need assistance using sendmail or mail()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, January 31, 2008 11:44 am, philip wrote:
>
>
> Nathan Nobbe wrote:
>> On Jan 30, 2008 2:47 AM, Per Jessen <per@xxxxxxxxxxxx> wrote:
>>
>>> Philip, please state what sort of problems you are having.  mail()
>>> and
>>> sendmail are both easy to use from php.
>>> And please don't post another 2000 lines of code. No-one is going
>>> to
>>> read them.
>>>
>>
>> amen to that brother! :)
>>
>> -nathan
> Hi guys,
>
> I'm new to both this newsgroups and PHP. I need to get the form
> submission working by Friday (Feb. 1). Any help with sendmailor mail()
> will be appreciated.

I didn't read all 200 lines, but the code you posted seemed to have
SMTP strewn throughout it.

You said you can't use SMTP.

So stop using that code.

Try this instead:
<?php mail('spy_c_xamaican@xxxxxxxxxx', 'Test', 'Message Body');?>

There, you just used mail() with sendmail.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux