• PHP mail() function

    From Angus McLeod@VERT/ANJO to All on Sunday, October 08, 2006 11:25:00
    It seems that when you call PHP's mail() function, it escapes single-
    quotes (and possibly other characters) in the body of the message. This
    makes the e-mail look funny on the recieving end. Sorta like this:

    I think it\'s funny-looking, to \'escape\' quotes in e-mail.

    Anyone else know abouti/seen this?
    ---
    Playing: "Oxygene II" by "Jean-Michel Jarre" from the "Oxygene" album
    þ Synchronet þ Programatically generated on The ANJO BBS
  • From Angus McLeod@VERT/ANJO to All on Sunday, October 08, 2006 12:42:00
    Re: PHP mail() function
    By: Angus McLeod to All on Sun Oct 08 2006 11:25:42

    It seems that when you call PHP's mail() function, it escapes single-
    quotes (and possibly other characters) in the body of the message. This makes the e-mail look funny on the recieving end. Sorta like this:

    I think it\'s funny-looking, to \'escape\' quotes in e-mail.

    Anyone else know abouti/seen this?

    Heh! *Nothing* to do with mail() at all!

    It was the fault of 'magic_quote_gpc' which was ON but I thought it was
    OFF. That will teach me to look at the config files for THIS server when
    I get strange behaviour on THAT server..... :-)

    ---
    Playing: "Winners blues" by "Sonic Youth"
    from the "Experimental Jet Set, Trash and No Star" album
    þ Synchronet þ Programatically generated on The ANJO BBS