Re: mail sending within a while failed
- From: "-Nacho-" <yoestepario@xxxxxxxxxxx>
- Date: 31 Jul 2006 10:35:18 -0700
Miguel Cruz ha escrito:
"-Nacho-" <yoestepario@xxxxxxxxxxx> wrote:
I've been able to see that the problem is not due to time, but to the
object mail I use.
I use an object "mail" and I don't know how to kill it or to
deinstantiate it after the first mail sending, to be able to
instantiate it again for the next mails. This was hidden by the
requires so it was not returning any error msg, but I've created a
whole code embedding the code of the required files and now I get:
Cannot redeclare class mime_mail in
/home/transper/public_html/msend.php on line 52
This:
Class mime_mail { blah blah }
needs to be before your while loop.
Also make sure you are not include()ing the file containing this:
Class mime_mail { blah blah }
within your while loop.
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Thanks, Miguel.
The problem was just there. I was invoking the class constructor within
the loop. I got the include() out of the loop and now everything is
working fine.
Thanks a lot!
-
Nacho
.
- References:
- mail sending within a while failed
- From: -Nacho-
- Re: mail sending within a while failed
- From: Steve
- Re: mail sending within a while failed
- From: lironliron
- Re: mail sending within a while failed
- From: Noodle
- Re: mail sending within a while failed
- From: -Nacho-
- Re: mail sending within a while failed
- From: Jerry Stuckle
- Re: mail sending within a while failed
- From: -Nacho-
- Re: mail sending within a while failed
- From: Miguel Cruz
- mail sending within a while failed
- Prev by Date: Re: br html line breaks and htmlentitities
- Next by Date: Re: PHP vs. J2EE
- Previous by thread: Re: mail sending within a while failed
- Next by thread: Displaying an image based on URL origination-URL Redirect
- Index(es):
Relevant Pages
|