Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Newsletter module sends empty email


Reply

5 Posts   1470 Views

Avatar
_Vince

7 October 2009 at 7:51am Community Member, 161 Posts

I have installed the stable version of the Newsletter module.

I have created a newsletter type.
I have created a newsletter draft for that type. I've used the subscription email that comes with the module as a model but I've also adapted the one shown in the documentation.

The template I've created shows up in the drop down list.

I have created a mailing list (manually, but still from within the CMS)

The created recipients show up on the list.

Whenever I send myself a test email (to Outlook and/or Yahoo! accounts) the email arrives blank. The subject and the sender info are, however, correct.

When I send the email to the mailing list, it also arrives blank.

When I preview the email I've just sent (from the "sent items" folder), I can see the email. The template is correct.

However, only the fields that relate to the email itself ($Subject, $Body/$Contents, etc) are parsed into the email. Stuff from the member table ($FirstName, etc) is not.

I have also tried prefixing those fields with "Member."

I deleted the stable version and tried everything again with the trunk version.

No difference, it still sends out an empty email every time.

Can anyone tell me what I'm doing wrong?

Avatar
_Vince

7 October 2009 at 4:23pm (Last edited: 7 October 2009 4:24pm), Community Member, 161 Posts

Ok, THIS part I get:

When I preview the email I've just sent (from the "sent items" folder), I can see the email. The template is correct.

However, only the fields that relate to the email itself ($Subject, $Body/$Contents, etc) are parsed into the email. Stuff from the member table ($FirstName, etc) is not.

the CMS is not going to preview the same email template for everyone on the list, so it leaves out individual list-member details and just displays the common bits.

Still can't understand why the email arrives empty though?

Avatar
_Vince

8 October 2009 at 7:52am Community Member, 161 Posts

*bump*

anybody..?

Avatar
one2gamble

8 October 2009 at 11:42am (Last edited: 8 October 2009 11:45am), Community Member, 30 Posts

have you sent it off to more than one account?

You may want to check your template or just use the provided one on this site to see if its working. It doesnt really make sense that it would complete the send without the content unless some tags are wrong?

Avatar
_Vince

8 October 2009 at 3:55pm Community Member, 161 Posts

Yeah, I've sent it to myself, and to a mailing list of three accounts.

Always arrives empty.

As far as the tags go, I've tried changing the extension on the template and the template displays correctly as html. The data parsed in from the database is displayed as text ($FirstName, $Surname, etc).

I've used both a renamed copy of the subscription email and an edited copy of the template shown in the documentation. They're both arriving blank.

And no, it doesn't make sense that I seem to be the only guy with this problem :D , I'm sure it'll turn out be something really minor and stupid. But until then... the emails always arrive empty.