Mime mail isnt working and there seems that the people behind MIME dont even reply to serious issues like white screen of death in drupal 6. There is also no update for months.
Perhaps they have abandoned Mime mail module.

I think that you should try to find another solution for sending html mails. Personaly after getting the white screen of death (Drupal 6.8) i installed html mail module. This is also not a perfect one. Perhaps these teams should co-operate with you in order to have a solution that can finally work.

I posted this on Simplenews Template Issues but they consider that their module is based on yours to have mails sent.

The problem is common. If MIME mail gives white screen of death, then only simple mails can be sent to users, which is not what we would like from such a nice module.

Comments

sutharsan’s picture

I agree that the current situation is not ideal. But since this is open source you can take the existing code fix the problems or rewrite the whole thing the way you like it. If you can't code you can hire a developer to do it for you. Asking others to fix your problem for free is worth a try but may not prove very succesfull. If you have funds I'm sure I can help you but maintaining simplenews is already a big community contribution. Adding Mime mail to it is way beyond my limits. It's time for others to contribute.

andrew.eatherington@gmail.com’s picture

As an interim measure could HTML Mail be used instead? Or even have the option of choosing between Mime-Mail and HTML Mail. Simplenews doesn't recognise that HTML Mail is installed at the moment.

sutharsan’s picture

@Brico: can you supply a patch for this?

sutharsan’s picture

Status: Active » Closed (won't fix)

From a look at the code of HTML Mail module, it will work without any code. Just select plain text as format in your simplenews newsletter and enable and setup the HTML Mail module.

Marking the issue as won't fix since the is nothing more Simplenews can do about this.

z.stolar’s picture

Assigned: Unassigned » z.stolar
Status: Closed (won't fix) » Active

Not exact.
The plain text / rich text selection appears only if mime mail is installed. I'll try to create a patch today for html mail.

z.stolar’s picture

StatusFileSize
new394 bytes

Attached a patch to add htmlmail support to simplenews.
Without it, simplenews turn HTML to text before htmlmail gets into action.

sutharsan’s picture

Version: 6.x-1.0-beta5 » 7.x-1.x-dev
Status: Active » Needs work

you have swapped old and new file.
I changed version because I intent to put this into HEAD and not into the upcoming 1.0 release.

Ashford’s picture

Title: MIME mail doesnt work » question about patch to add htmlmail support to simplenews

Is this a patch for MimeMail or the HTML to Text module?

If it is an option to use either module, which one are you using?

If it's for MimeMail, all I found for Drupal-6 was the MimeMail dev6 version. Is it safe to use the dev version on a live site?

I know that I ask a lot of questions. It's just that I completely destroyed our group's web site while trying to fix email errors for the various mail modules. I want to get it right this time.

Ashford

z.stolar’s picture

This patch is for simplenews, and is meant to add support for the htmlmail module, not the ones you've mentioned.
It will add a select drop down, to choose between html and plain text for outgoing mails.
You should verify the readiness of mimemail in the relevant project's issue queue.

sutharsan’s picture

Title: question about patch to add htmlmail support to simplenews » Support htmlmail module
Status: Needs work » Fixed
StatusFileSize
new680 bytes

Attached patch is committed to HEAD. z.stolar, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

s.daniel’s picture

Status: Closed (fixed) » Needs work

The current dev (6.x-1.x-dev (2009-Mai-16)) still shows the text
"Install Mime Mail to send HTML emails or emails with attachments (both plain text and HTML)."
unter /admin/settings/simplenews/newsletter

maybe this could be improved?

joachim’s picture

doknet’s picture

Title: Support htmlmail module » Is there a way to send HTML formatted mail using the smtp module

Is there a way to send HTML formatted mail using the smtp module
to use an external mail server
Probe 6.x-1.x-dev and 6.x-1.0-rc6 witch htmlmail but send formatted simple text,
Enable mimail but it´s try to use the local mail server .-
Sorry my inglis.-

doknet’s picture

Title: Is there a way to send HTML formatted mail using the smtp module » Works well thank you very much

Sorry applied the patch to the module simplenews and
htmlmail enable
mimemail disable
configure (admin/settings/simplenews/newsletter) html format -
and it works fine sending html formatted mail using the smtp module

Works well thank you very much

joachim’s picture

Title: Works well thank you very much » Is there a way to send HTML formatted mail using the smtp module

Just restoring the issue title :)

sutharsan’s picture

@doknet Please don't hijack issues. Select an issue carefully if you consider adding your problem to it, or better search the site and issue queues of related modules. In your case try the HTML module issue queue. It is a known issue.

socialnicheguru’s picture

subscribing

nvisioncurtis’s picture

Hi all,

I'm not clear how to install the patch listed in above post. (newbee)

Where does this file get placed? In the HEAD of what?

I have seen other post say that the beta version of mimemail works... anyone else using the beta in production?

joachim’s picture

nvisioncurtis : Please try googling for basic answers: http://drupal.org/patch

nvisioncurtis’s picture

Ah!

I didn't know about this. Thanks!

It works yeah!

nvisioncurtis’s picture

My images are arriving in my mail with relative links and so don't show as broken links... inserted Images of course need to be absolute URLs for email. :(

I can't determine if this is a glitch or setting issue? Any ideas?

s.daniel’s picture

Tested the patch as working. Thanks.
@nvisioncurtis I am using wysiwyg api in junktion with tinymce and imce and have no problems. However there might be a setting to choose weather images are inserted with relative or absolute paths.

nvisioncurtis’s picture

Thanks,

I agree, I don't think this is a patch issue as I am having the issue whenI send page using the printer friendly module.

I've looked around and I don't see where the setting could be...

nvisioncurtis’s picture

I used the absolute source module to fix the relative links issue I was having.
drupal.org/project/abssrc

Never saw anything anywhere that suggested this was required. Perhaps its needed only for htmlmail module but not the mimemail module?

sutharsan’s picture

Status: Needs work » Fixed

Closing the issue. The original request is fixed in HEAD and now also backported to 6.x-1.x-dev. For bugs, please create a new issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

eliosh’s picture

I confirm patch on comment 10 (http://drupal.org/comment/reply/367488#comment-1361820)

I'm using simplenews rc4, htmlmail dev (with emogrifier activated) and smtp

aschiwi’s picture

Please check out this thread which helped me getting Simplenews and Mime Mail working together: http://drupal.org/node/562466

It's just a matter of disabling and re-enabling modules.

roball’s picture

Title: Is there a way to send HTML formatted mail using the smtp module » Support of "HTML Mail" module

Resetting to proper title...

amir simantov’s picture

Problem:

I am overriding simplenews-newsletter-body.tpl.php which is called successfully when htmlmail prints $body. The mail is sent properly as html but the body itself (coming from simplenews-newsletter-body.tpl.php) is in plain text.

Patch from #6 (zohar's) has been applied and value for "Default newsletter format" is successfully set to 'html'.

Thanks/