View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001497 | Anope Development (1.9.x series) | Other | public | 2013-04-03 08:50 | 2013-05-08 23:16 |
Reporter | CuttingEdge | Assigned To | Adam | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Ubuntu Linux | ||
Summary | 0001497: Emails being stripped of new (blank) lines. | ||||
Description | Anope appears to be trimming/stripping/removing new (blank) lines within email messages sent from any of the pre-configured email templates (new memo, new registration, etc). Its impossible to separate new paragraphs in emails. Also, adding only a space in the new (blank) line (without any other text) causes processing of the template to halt (any subsequent text is dropped from the email). | ||||
Steps To Reproduce | 1) Trigger any email related function from within Anope that uses an email template with blank/empty lines that separates paragraphs. | ||||
Additional Information | Using latest Anope 1.9.x GIT. Using Postfix MTA. | ||||
Tags | No tags attached. | ||||
|
fixed in 5e7085130eb245e6ab9d44c04816ad62a324cd43 |
|
Notice the gap between the "You have requested to register ..." and "Please type ..." lines. Its not present in the default Anope config. The two lines are not separated by an additional new line in the config, yet they are, in the email output. |
|
I am unable to reproduce any of these problems using the default config on Ubuntu 12.04.2 LTS with postfix 2.9.6 and viewing the email using gmail. When the config is being parsed, registration_message is set like so: [May 06 21:50:15.800637 2013] Debug: ln 1006 EOL: s='mail' 'registration_message' set to 'Hi, You have requested to register the nickname %n on %N. Please type " /msg NickServ CONFIRM %c " to complete registration. If you don't know why this mail was sent to you, please ignore it silently. %N administrators.' Which is correct. |
|
I've just updated to the latest GIT version, and have noticed that now all the emails have a blank line between each line defined in the config file, regardless of there being a blank line or not between the lines. Example: Config: this is a test Email: this is a test |
|
This is fixed in 1d0bb9b26b7ad58ab0bf979ac046f4511b3bf12b |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-03 08:50 | CuttingEdge | New Issue | |
2013-05-05 07:04 | Adam | Note Added: 0006430 | |
2013-05-05 07:04 | Adam | Status | new => resolved |
2013-05-05 07:04 | Adam | Resolution | open => fixed |
2013-05-05 07:04 | Adam | Assigned To | => Adam |
2013-05-06 08:40 | CuttingEdge | Note Added: 0006433 | |
2013-05-06 08:40 | CuttingEdge | Status | resolved => feedback |
2013-05-06 08:40 | CuttingEdge | Resolution | fixed => reopened |
2013-05-07 02:50 | Adam | Note Added: 0006439 | |
2013-05-07 07:39 | CuttingEdge | Note Added: 0006442 | |
2013-05-07 07:39 | CuttingEdge | Status | feedback => assigned |
2013-05-08 23:16 | Adam | Note Added: 0006444 | |
2013-05-08 23:16 | Adam | Status | assigned => resolved |
2013-05-08 23:16 | Adam | Resolution | reopened => fixed |