Removing the [] from email subject
stevekerouac - June 24, 2009 - 11:54
| Project: | Simplenews |
| Version: | 6.x-1.0-rc6 |
| Component: | Usability |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Sorry if this has been mentioned before. I cannot find any reference to it which makes me wonder if there is something unusual about my installation of simplenews. All emails generated have the subject bracketed by [ and ] which looks ridiculous. Is this standard behaviour of simplenews, and if so how can I remove them? Thanks

#1
Drop this into your template.php. Clear your caches and send a test email to check if it works. (Worked for me)
function phptemplate_simplenews_newsletter_subject($name, $title, $language) {return $name .' - '. $title;
}
I took the brackets out and made it a hyphen. You could do whatever you want with this.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.
#3
This function doesnt seem to be working for me? using most updated modules with RC6 ... also using mime mail? ? HEELLpp