Ask a Question related to PHP Development, Design and Development.
-
David T-G #1
Re: [PHP] Problem sending HTML formated mail
Juan --
...and then Juan Carlos Borrero said...
%
% Hi People
Hi!
%
% I'm using the mail() function in order to send HTML formated e-mails to my
% customers in an automatic process, witha aPHP program. Some times the
OK. HTML mail is evil, but continue on ;-)
% e-mails where produced with a sort of non intelligible caracters and the
% headers were exposed. Even if i repeat the same e-mail some times where
% produced ok and the next where wrong.
Can you give an example of such a failed email, and perhaps your script?
We may need to see all of the relevant data, such as the message template
and the user info for some that worked and -- more importantly -- some
that didn't, but just the first bits would give us a start.
%
% I have my site hoted in detailhosting.com, Versión P.H.P 4.3.2, Mysql
% 4.0.15 , Apache 1.3.27 , Linux Kernel Version 2.4.21-grsec.
%
% The guys of detailhosting don´t know what to do.
Well, without more info neither do we :-)
%
% Please help me. I don´t know what to do...
Start by giving us more information.
%
% Thanks in advace.
%
% Juan Carlos Borrero
% Webmaster - [url]www.lupajuridica.com[/url]
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) [email]davidtg@justpickone.org[/email] * society and not sufficient moral courage.
(work) [email]davidtgwork@justpickone.org[/email] -- Mary Baker Eddy, "Science and Health"
[url]http://justpickone.org/davidtg/[/url] Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE/aFe4Gb7uCXufRwARAieOAJ9LCkOawb/UvKqKGa1vLiFhjmcNMQCgquii
GoUFdzYPArEXo3waXJSGHWQ=
=5Q/M
-----END PGP SIGNATURE-----
David T-G Guest
-
Problem sending HTML formated mail
Hello Use a mail class to send your mail instead of mail. These classes have a lot of workarounds for mail() problems and are fairly easy to... -
problem when sending mail
Hello Im trying to send a mail from a php-program. Im using a test program and the code for this is as follows: <?php $from =... -
[PHP] Mail() Problem Sending
I have recently had php installed on my server with sendmail. The server is behind a firewall and SMTP is open on the firewall. However, when I... -
Sending HTML formatted mail using CDONTS
Does anyone have some sample code for sending an HTML formatted message using CDONTS? Thanks RE: Sending HTML formatted mail using CDONTS ... -
CDONTS-Sending HTML mail-8000 character limit
Hi all, I have seen a few messages about this in the archives, but none provide a comprehensive answer. Basically, I want to use CDONTS mail... -
Curt Zirzow #2
Re: Fw: [PHP] Problem sending HTML formated mail
* Thus wrote Juan Carlos Borrero (juancabo@thesector.net):
Your emails are an utter confusion.>
> ----- Original Message -----
> From: "Juan Carlos Borrero" <juancabo@thesector.net>
> To: <php-general@lists.php.net>
> Sent: Wednesday, September 17, 2003 8:11 PM
> Subject: Re: [PHP] Problem sending HTML formated mail
>
>> >
> > ----- Original Message -----
> > From: "David T-G" <davidtg@justpickone.org>
> > To: "Juan Carlos Borrero" <juancabo@thesector.net>
> > Sent: Wednesday, September 17, 2003 7:48 PM
> > Subject: Re: [PHP] Problem sending HTML formated mail
> >
> > Acording with David Instructios i am attaching the 2 examples of the same
> > mail generates with 5 seconds of difference producen this two results.
> >
> > Thanks
> >
> > Juan Carlos
first, you original message (which I had to go digging for, to
recall what your problem was) was posted in another thread.
Second, this email content is quoting the wrong person with your
text inside his quote.
Third, Your attachments are all messed-up. I can't make heads or
tails as to what is what. Besides that attachements are not suppose
to be posted to the list.
Fourth, I finally make something out of it and your code is very
hard to read, you have commented out code here and there.
Fifth, Your email attatchments are way to complicated to decipher,
you have special headers and the like inside of them, and is very
difficult to determain exactly what the problem is.
Try to make things simple and go from there. I would also
suggest using a class of some sort that works already, such as was
suggested ealier (phpmailer.)
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
Curt Zirzow Guest
-
Juan Carlos Borrero #3
Re: Fw: [PHP] Problem sending HTML formated mail
Ok. Thank You
Juan Carlos
----- Original Message -----
From: "Curt Zirzow" <php-general@zirzow.dyndns.org>
To: <php-general@lists.php.net>
Sent: Wednesday, September 17, 2003 8:59 PM
Subject: Re: Fw: [PHP] Problem sending HTML formated mail
same> * Thus wrote Juan Carlos Borrero (juancabo@thesector.net):> >
> > ----- Original Message -----
> > From: "Juan Carlos Borrero" <juancabo@thesector.net>
> > To: <php-general@lists.php.net>
> > Sent: Wednesday, September 17, 2003 8:11 PM
> > Subject: Re: [PHP] Problem sending HTML formated mail
> >
> >> > >
> > > ----- Original Message -----
> > > From: "David T-G" <davidtg@justpickone.org>
> > > To: "Juan Carlos Borrero" <juancabo@thesector.net>
> > > Sent: Wednesday, September 17, 2003 7:48 PM
> > > Subject: Re: [PHP] Problem sending HTML formated mail
> > >
> > > Acording with David Instructios i am attaching the 2 examples of the>> > > mail generates with 5 seconds of difference producen this two results.
> > >
> > > Thanks
> > >
> > > Juan Carlos
> Your emails are an utter confusion.
>
> first, you original message (which I had to go digging for, to
> recall what your problem was) was posted in another thread.
>
> Second, this email content is quoting the wrong person with your
> text inside his quote.
>
> Third, Your attachments are all messed-up. I can't make heads or
> tails as to what is what. Besides that attachements are not suppose
> to be posted to the list.
>
> Fourth, I finally make something out of it and your code is very
> hard to read, you have commented out code here and there.
>
> Fifth, Your email attatchments are way to complicated to decipher,
> you have special headers and the like inside of them, and is very
> difficult to determain exactly what the problem is.
>
> Try to make things simple and go from there. I would also
> suggest using a class of some sort that works already, such as was
> suggested ealier (phpmailer.)
>
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>Juan Carlos Borrero Guest



Reply With Quote

