When using SMTP and Mimemail together with Simplenews, test emails are blank. Interestingly it would work at first, but then when you change a Simplenews template file it start sending blank emails.

When Changing the email engine from SMTP to Mime Mail (default), the emails then are not blank. When changing the setting back to SMTP, emails will be blank.

tried both SMTP 6.x-1.0-beta5 and dev

Comments

akolahi’s picture

Priority: Normal » Minor

I was able to get around this issue by not using the SMTP module, but instead using the PHPMailer module. Changing to Minor priority since there is a usable workaround.

simon georges’s picture

Project: Simplenews » SMTP Authentication Support
Version: 6.x-2.x-dev » 6.x-1.0-beta5

Then I suppose the issue should be in the SMTP queue ?

ralf.huebl’s picture

StatusFileSize
new35.52 KB

I had the same problem,
for my solution see the uploaded file

wundo’s picture

Hi ralf.huebl ,
Could you provide a patch?

wundo’s picture

Status: Active » Needs work
yingtho’s picture

Version: 6.x-1.0-beta5 » 6.x-1.0
Status: Needs work » Needs review
StatusFileSize
new19.29 KB

This is the patch provide above as text with one bug fix and moved the comment around a bit. See enclosed patch.

wundo’s picture

Status: Needs review » Needs work

Could you please re-roll this patch?

somersoft’s picture

Status: Needs work » Needs review
StatusFileSize
new18.53 KB

I have attached the patch file which has been rerolled and now works for smtp 6.x-1.1, mimemail 6.x-1.1 and simplenews 6.x-2.0-alpha5.

I found that when the body was base64 encoded, it was not being decode in the unwinding.

Status: Needs review » Needs work

The last submitted patch, smtp-unwind.minemail-1289428-8.patch, failed testing.

somersoft’s picture

StatusFileSize
new18.53 KB

Problem of using windows based tools is line endings :(

somersoft’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, smtp-unwind.minemail-1289428-8.patch, failed testing.

somersoft’s picture

Status: Needs work » Needs review
StatusFileSize
new18.4 KB

Once again.

Status: Needs review » Needs work

The last submitted patch, smtp-unwind.minemail-1289428-13.patch, failed testing.

somersoft’s picture

Version: 6.x-1.0 » 6.x-1.1
Status: Needs work » Needs review
StatusFileSize
new18.71 KB

At last got the IDE to produce a valid patch file :( :(

Status: Needs review » Needs work

The last submitted patch, smtp-unwind.minemail-1289428-15.patch, failed testing.

somersoft’s picture

Version: 6.x-1.0 » 6.x-1.1
Status: Needs review » Needs work
StatusFileSize
new18.57 KB

With Unix line endings for smtp 6.x-1.1

somersoft’s picture

Status: Needs work » Needs review

:) at last

somersoft’s picture

Version: 6.x-1.1 » 6.x-1.0
StatusFileSize
new18.54 KB

Here is the patch file for version 6.x-1.0

somersoft’s picture

Status: Needs work » Needs review
StatusFileSize
new18.71 KB

After further testing found that file attachements were not being unwound correctly.

Here is a patch for the 6.x-1.1 version that unwinds file attachments.

somersoft’s picture

Version: 6.x-1.1 » 6.x-1.0
StatusFileSize
new18.72 KB

After further testing found that file attachements were not being unwound correctly.

Here is a patch for the 6.x-1.0 version that unwinds file attachments.

Thank you ralf.huebl for the original work.

wundo’s picture

Issue summary: View changes
Status: Needs review » Closed (works as designed)

Closing very old (dead) issues, if you think this is still relevant please re-open.