Welcome Guest, Not a member yet? Register   Sign In
Issue with HTML generated from CI Email class
#1

[eluser]captainbeef[/eluser]
Hello,
I just used the native CI Email class for the first time.

I have configured it to use html by default.

The sent email seems to display ok in Thunderbird, but gets a bit yucky in gmail.
The html source seems to have an equals sign at the end of each line, as follows:

Code:
<head><link href=3D"http://rtwnews.org/CSS/grey.css" rel=3D"stylesheet" typ=
e=3D"text/css" /&gt;&lt;title&gt;RTW News Bulletin&lt;/title&gt;&lt;/head&gt;&lt;body&gt;<div class=3D=
"bulletinPreview"><table><tr><td class=3D"StoryTitle">RTW News Bulletin</td=
></tr></table><br /><br /><br /><br /><table><tr><td class=3D"FormLabel"><s=
pan style=3D"font-weight: bold;">This edition of the newsletter contains </=
span><span style=3D"font-weight: bold;">bolded </span><span style=3D"font-w=
eight: bold;">intro text. <br><br></span>Lorem ipsum dolor sit amet, consec=
tetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet =
dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nost=
rud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commo=
do consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate vel=
it esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at =

Can anyone please tell me if this normal?

thanks
#2

[eluser]Seppo[/eluser]
I think that get fixed by using set_mailtype('html') before setting the body.
#3

[eluser]cwpollock[/eluser]
Is there a known fix for this 3D link issue. It am already setting the type to "html". and the problem is still present.

Links come through in OUTLOOK (Gmail is fine) like this:

Code:
<a href="http://3D" target="_blank">20081020_161017_113.data.xml&lt;= /a&gt;</a>

Compare above with the attached picture.
#4

[eluser]alboyd[/eluser]
Hi

This problem is still outstanding I assume? It seems strange that I am unable to find an answer to this problem on the forums / google etc I have been searching all afternoon. What is being done about this? I have the same problem - links are 3D and "=" pops into my html all over the place (well every 76 characters).
#5

[eluser]mattpointblank[/eluser]
Yep, this is happening to me too.
#6

[eluser]mattpointblank[/eluser]
Fixed it. Not sure which of these did it (got a feeling it's the last one though) but add these settings:

$config['newline'] = "\r\n";
$config['crlf'] = "\r\n";
$config['wrapchars'] = 0;
#7

[eluser]Jhourlad Estrella[/eluser]
Nope. That doesn't fix it. I'm sure you did something else to fix the problem.
#8

[eluser]skunkbad[/eluser]
Show your code.
#9

[eluser]InsiteFX[/eluser]
I have seen this before, it happens from ill legal characters in emails then change allow of them to 3D, open up and view an html email and you will see what I mean SEE BELOW:

[code]
<table align=3D=22center=22 border=3D=220=22 cellpadding=3D=220=22 =
cellspacing=3D=220=22 width=3D=22600=22><tr valign=3D=22top=22><td><a
#10

[eluser]aidehua[/eluser]
Were you on localhost? I was, and had this problem with =3D etc. Here's how I fixed it

See http://ellislab.com/forums/viewthread/69463/#818990




Theme © iAndrew 2016 - Forum software by © MyBB