newsletter manager with source code not working.

Open to all! Ask other shopowners for help.
Blipnoodle
Member
Posts: 15
Joined: Thu Jan 18, 2024 3:09 am
Phoenix Version:
Has thanked: 15 times

newsletter manager with source code not working.

Post by Blipnoodle »

Hello,


I have made a template with html but I'm having issues when it comes to sending it.

it currently shows up nicely in the editor but when i actually send it to my email it only shows the code, or only the text but the formatting is completely broken.

I have tried sending the exact thing from Gmail (with html extension) and it sends no problem at all.
but sending directly from the newsletter it doesn't work!

I have tried sending to a @hotmail.com and a @gmail.com but its the same results.

-the email address the newsletter is sending from is the same email i have used to send directly from Gmail


Join The Code Co-op to get access to your library in the Code Co-op Forum
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: newsletter manager with source code not working.

Post by raiwa »

Did you set “Use MIME HTML When Sending Emails” to “true” in: admin -> configuration -> e-mails?
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
Blipnoodle
Member
Posts: 15
Joined: Thu Jan 18, 2024 3:09 am
Phoenix Version:
Has thanked: 15 times

Re: newsletter manager with source code not working.

Post by Blipnoodle »

So firstly... I freaking love you!!! That got me most of the way there!!

I can now receive it almost perfect. Its just the massive gaps between the paragraphs, The newsletter was first created in a newsletter editor and I can export from the website as html)
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: newsletter manager with source code not working.

Post by heatherbell »

In admin -> configuration -> e-mails, see if setting CRLF or LF makes a difference? Just guessing.
Blipnoodle
Member
Posts: 15
Joined: Thu Jan 18, 2024 3:09 am
Phoenix Version:
Has thanked: 15 times

Re: newsletter manager with source code not working.

Post by Blipnoodle »

That doesn't seem to make a difference.
I also tried changing the email transport method, but same again no change.

in the editor the email looks like i want it to, but the preview has giants spaces between every thing.

I put the same code into Dreamweaver (Though is 2004 MX edition)
and an online html/preview editor and they both show like I want it to.
It's like every thing has massive margins, my next step ill go through the code and just remove the margins and see how that goes i guess?
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Has thanked: 70 times
Been thanked: 152 times

Re: newsletter manager with source code not working.

Post by raiwa »

Blipnoodle wrote: Thu Feb 29, 2024 1:14 am in the editor the email looks like i want it to, but the preview has giants spaces between every thing.
What exact are you referring to by “editor” and “preview”?
You could use the browser’s developer tools to find out where the gaps are coming from.

You could post screenshots and code examples to see better what happens.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: newsletter manager with source code not working.

Post by 14Steve14 »

Personally I would move away from using the core newsletter system. There are better ways to send newsletters to your customers without the risk of your domain being blacklisted. There are free versions from the likes of mailchimp which produce such better emails and are fully compliant.

If you are having trouble with the cod=re line spacings its either your settings, which you say seem to make no difference, or its your code causing the problem when its viewed
Dan Cole
Senior Contributor
Posts: 498
Joined: Fri Oct 25, 2019 2:14 pm
Phoenix Version: 1.0.8.21
Has thanked: 67 times
Been thanked: 61 times

Re: newsletter manager with source code not working.

Post by Dan Cole »

14Steve14 wrote: Thu Feb 29, 2024 3:56 pm If you are having trouble with the cod=re line spacings its either your settings, which you say seem to make no difference, or its your code causing the problem when its viewed
I would check to see if your editor is adding some formating code to your text...I seem to recall that Dreamweaver used to do that and if that is indeed the case, it is likely why your seeing what you are.

Dan
Blipnoodle
Member
Posts: 15
Joined: Thu Jan 18, 2024 3:09 am
Phoenix Version:
Has thanked: 15 times

Re: newsletter manager with source code not working.

Post by Blipnoodle »

14Steve14 wrote: Thu Feb 29, 2024 3:56 pm Personally I would move away from using the core newsletter system. There are better ways to send newsletters to your customers without the risk of your domain being blacklisted. There are free versions from the likes of mailchimp which produce such better emails and are fully compliant.

If you are having trouble with the cod=re line spacings its either your settings, which you say seem to make no difference, or its your code causing the problem when its viewed
Trying to get it working through the newsletter manager because it has all the people subscribed to the newsletter, I don't want to have to manually check who is subscribed each time we send the newsletter,

Also that way I don't need to access my bosses computer, I can make the newsletter, he can preview it from the site and click send if he's happy with it. The other thought was that I email it directly to him and he just forward it from his email to a newsletter group, but that comes back to the checking to see who has subscribed.

I will look in to newsletter systems a bit more though and put it to my boss.
Blipnoodle
Member
Posts: 15
Joined: Thu Jan 18, 2024 3:09 am
Phoenix Version:
Has thanked: 15 times

Re: newsletter manager with source code not working.

Post by Blipnoodle »

raiwa wrote: Thu Feb 29, 2024 7:46 am
Blipnoodle wrote: Thu Feb 29, 2024 1:14 am in the editor the email looks like i want it to, but the preview has giants spaces between every thing.
What exact are you referring to by “editor” and “preview”?
the editor in the newsletter manager, the preview after you save and click preview.

Can i post the code in here? Whats the best way to to do it?


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply