You are here: Re: not receiving emails expected « PHP Programming Language « IT news, forums, messages
Re: not receiving emails expected

Posted by Jerry Stuckle on 09/28/07 22:19

davjoh wrote:
> On Sep 27, 9:00 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> davjoh wrote:
>>> The following describes the problem I am having. Can anyone help?
>>> $send_to[] = "davjoh...@yahoo.com";
>>> $send_to[] = "product...@advisiongraphics.com";
>>> $send_to[] = "advision_gali...@mac.com";
>>> // send email
>>> foreach ($send_to as $dest)
>>> mail($dest,$email_subject,$message,$header); //This line NOT
>>> working
>>> //expecting it to send email to all the above addresses assigned to
>>> $send_to[] array. Is it because values have not been added to $dest
>>> and if so how to do
>>> mail($r["email"],$email_subject,$message,$header); //This line
>>> working
>> Nope, but you haven't told us enough about your problem. For instance,
>> what's the response from the mail() call? What's in $header?
>>
>> Are you suer it isn't going into a spam black hole somewhere? Are you
>> trying to send too many emails too quickly, and therefore upsetting your
>> MTA?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================- Hide quoted text -
>>
>> - Show quoted text -
>
> This is what is in the header
>
> // build headers
> $header = sprintf("From: %s\n",$email_from);
> Not sure what you mean by response to mail() call.
>

mail() is a function call. It has a return code indicating whether the
email was passed on to your MTA or not.

What's that response?

The first step is to see if it even made it to the mta.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация