[PHP] Problem sending HTML formated mail

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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 =...
    3. [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...
    4. 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 ...
    5. 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...
  3. #2

    Default Re: Fw: [PHP] Problem sending HTML formated mail

    * 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 same
    > > 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."
    Curt Zirzow Guest

  4. #3

    Default 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

    > * 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
    same
    > > > 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139