Email Library, HTML MAIL- OSX Mail |
[eluser]Peet86[/eluser]
I sent html email with CI's library to OSX users, but in the Mac OSX Mail application the message displayed incorrectly. (In other clients like MS outlook, etc the same message works fine) The Mail.app display the raw html and the "--B_ALT_IM A RANDOMNUMBER--" snipet, like this: Code: here is your reset code: <a href=3D"http://xyz.net/felhasznalo/fo= Is it possible, the CI email library's mail format doesnt compatible with OSX Mail? ![]()
[eluser]James Gifford[/eluser]
I use OSX Mail and CI's email library all the time without trouble. How are you going about creating your email messages?
[eluser]Derek Jones[/eluser]
Ok, that's the answer to the second question...
[eluser]Peet86[/eluser]
James: Like in the CI Users Guide.. No errors in the debug.. ($this->email->print_debugger() ![]() Code: $this->load->library('email');
[eluser]Derek Jones[/eluser]
What are you using for your newline and crlf characters in the Email class? Sounds like your server may be doing some converting of its own, which we have seen before on some European mail servers, though it would be odd for you to only see the problem with Mail.app. How does Thunderbird render the email?
[eluser]James Gifford[/eluser]
Peet: Those are the same settings I use. I had thought that it might have been a different charset setting, but that's not it. Have you done any special configuration with your Mail app? I am also using CI 1.6.2 so the only thing I can think of is that either your Mail or your server environment is setup differently than mine. I'll do some more checking and let you know if I think of anything else.
[eluser]Peet86[/eluser]
Thanks for the fast answers.. I tried: - charset settings utf-8 / iso-88591 -> error - newline crlf: \r\n and just \n -> error James: No, I have the default settings in Mail.app, it can handle the html mail.. Derek: My mail server is hmailserver under windows server 2003 and when I catched on the fly the mail, I saw, the source is the same like in the Mail.app raw source. It isnt changed anything.. I installed Thunderbird, but I saw nothing. The code wasnt rendered. In my webmail (roundcube) too.. nothing.. In Outlook the message rendred, but not evrything correct.. aaaaand!!! I detected in the html code some freaky characters.. Code: <html> The "3D"!! Wtf?? And the "=00", in this: Code: .... With the echo $this->email->print_debugger(); I tested, and the freaky chars are already in the CIs php output.. ![]() What a hell is this?
[eluser]Derek Jones[/eluser]
That's quoted-printable MIME encoding. = is the escape character, e.g. =3D equates to = when decoded by the MUA. Still sounds like a line break issue to me, particularly since you mention that the mail is going through a Windows server. Do you have access to an SMTP server running on a different machine or service that you could use as a test? |
Welcome Guest, Not a member yet? Register Sign In |