Page 1 of 1

Newsletter email format

Posted: Fri Jul 10, 2009 5:21 pm
by jagman
Hi

When I do a newsletter send I get an email through showing this, and a .txt attachment which is the actual HTML newsletter. What am I doing wrong? Many thanks for your help

Code: Select all

------=_NextPart_18e80ba264358c7dcd4b88900f076b3a
Content-Type: multipart/alternative; boundary="----=_NextPart_18e80ba264358c7dcd4b88900f076b3a_alt"

------=_NextPart_18e80ba264358c7dcd4b88900f076b3a_alt
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
VGhpcyBpcyBhIEhUTUwgZW1haWwgYW5kIHlvdXIgZW1haWwgY2xpZW50IHNvZnR3YXJlIGRvZXMg
bm90IHN1cHBvcnQgSFRNTCBlbWFpbCE=
------=_NextPart_18e80ba264358c7dcd4b88900f076b3a_alt
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgZGlyPSJsdHIiIGxhbmc9ImVuIj4KPGhlYWQ+Cjx0aXRsZT5UZXN0IG5ld3NsZXR0
PGh0bWwgZGlyPSJsdHIiIGxhbmc9ImVuIj4KPGhlYWQ+ZXI8
L3RpdGxlPgo8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRt
bDsgY2hhcnNldD1VVEYtOCI+CjwvaGVhZD4KPGJvZHk+PHA+aGVsbG8gPHN0cm9uZz5KYW1l
bDsgY2hhcnNldD1VVEYtOCI+CjwvaGVhZD4KPGJvZHk+PHA+cyZu
YnNwOzwvc3Ryb25nPjwvcD4NCjxwPjxpbWcgYWx0PSIiIHdpZHRoPSIyNTAiIGhlaWdodD0iMTMw
IiBzcmM9Ii9pbWFnZS91c2VyZmlsZXMvaW1hZ2UvUGljdHVyZS02NjguanBnIiAvPjwvcD48L2Jv
ZHk+CjwvaHRtbD4K
------=_NextPart_18e80ba264358c7dcd4b88900f076b3a_alt--

Re: Newsletter email format

Posted: Wed Aug 12, 2009 7:15 am
by chiefk
yeah me too. i tried this mail function a few times to myself.All ok but now it gives me this mambo jumbo.Any ideas anyone?

Re: Newsletter email format

Posted: Wed Aug 12, 2009 7:25 am
by Daniel
i thnk its because its using \r\n and it should be just \n.

I got it working in gmail.

does this happen on both smtp and the standard mail fucntion?

Re: Newsletter email format

Posted: Wed Aug 12, 2009 4:38 pm
by chiefk
on standard mail function. I haven't tried the SMTP as the mail was working fine( until now)
eh, what do you mean by \r\n? what is this? am not very PHP'd

Re: Newsletter email format

Posted: Wed Aug 12, 2009 4:57 pm
by chiefk
Oh, i've just tried sending myself one and viewed it in yahoo mail and it'd fine. Could the problem be my outlook filtering our the message or...? That means probably those customers using theis email clients may not view it.Any ideas?

Re: Newsletter email format

Posted: Sat Jul 02, 2011 6:33 am
by vamhyd
same problem