Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18611

Re: problem figuring out why mail fails

From bill <william@TechServSys.com>
Newsgroups comp.lang.php
Subject Re: problem figuring out why mail fails
Date 2021-04-16 08:33 -0400
Organization Aioe.org NNTP Server
Message-ID <s5c074$gm0$1@gioia.aioe.org> (permalink)
References <s54d0b$spc$1@gioia.aioe.org> <idmbs0F7hq7U1@mid.individual.net>

Show all headers | View raw


On 4/13/2021 4:05 PM, J.O. Aho wrote:
> On 13/04/2021 17.22, bill wrote:
>> I have a script that sends mail in a loop.  Unfortunately it is 
>> sending only the first.
>> Here is the script segment:


> 
> As you don't have the whole code, it's just a guess when it comes 
> to the problem. I would guess it's your headers that grows for 
> each mail you try to send, also simpler to use an array with 
> named cells, see php.net documentation.
> 

Thank you to J.O Aho and Lew Pitcher and Arno Weizel and Jerry 
Stuckle.

I moved the header setting out of the loop and all is good.  Many 
thanks.
-bill

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

problem figuring out why mail fails bill <william@TechServSys.com> - 2021-04-13 11:22 -0400
  Re: problem figuring out why mail fails Jeroen Belleman <jeroen@nospam.please> - 2021-04-13 21:01 +0200
  Re: problem figuring out why mail fails "J.O. Aho" <user@example.net> - 2021-04-13 22:05 +0200
    Re: problem figuring out why mail fails bill <william@TechServSys.com> - 2021-04-16 08:33 -0400
      Re: problem figuring out why mail fails Kristall <kristallin555@gmail.com> - 2023-02-27 02:40 -0800
  Re: problem figuring out why mail fails Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2021-04-13 21:08 +0000
  Re: problem figuring out why mail fails Arno Welzel <usenet@arnowelzel.de> - 2021-04-14 16:32 +0200
    Re: problem figuring out why mail fails Jerry Stuckle <jstucklex@attglobal.net> - 2021-04-14 12:58 -0400
      Re: problem figuring out why mail fails Kristall <kristallin555@gmail.com> - 2023-02-27 02:40 -0800

csiph-web