HTML newsletters with embedded e-mail addresses are being sent with the 'mailto' component of the links removed. For example, the node which reads:
<a href="mailto:name@some.com">name</a>
appears instead in the resulting message as:
<a href="name@some.com">name</a>
It seems like this would be a result of a replacement function in the module, however the ubiquitous use of mailto links and lack of other reports regarding this issue make that appear less likely.
I use simplenews in tandem with mimemail.
Comments
Comment #1
Thomas Sewell commentedI see:
in the code, but I'm not sure about the logic behind it.
I can confirm that the current 4.7.X version also appears to strip out the mailto: in email links, which is pretty annoying.
Comment #2
sutharsan commentedI will investigate this with the Simplenews 6.x development.
Comment #3
ccdoss commentedThis will fix it:
Go to mimemail.inc
Look for function
_mimemail_url($url)change
return str_replace('mailto:', '', $url);toreturn $urlI just sent myself some test newsletters to both my Yahoo account and Outlook. It works beautifully in both.
Comment #4
sutharsan commentednote this is simplenews, not mimemail.
Comment #5
ccdoss commentedSimplenews uses mimemail to send out the newsletter...at least in my version. Therefore, making the above changes in mimemail.inc corrected the problem to my Simplenews newsletter.
Comment #6
sutharsan commentedyes, and the fact that the problem is caused by mimemail makes it a mimemail issue and not a simplenews issue.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.