Opened 5 years ago
Closed 5 years ago
#245 closed Enhancement (fixed)
Email notification formatting
| Reported by: | cowley | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | 1.0 |
| Severity: | minor | Keywords: | email formatting content type |
| Cc: | brettp | Difficulty: |
Description
Email notifications sent by Elgg have HTML formatting tags such as <p>This is the message</p> but the Content-Type header seems to vary with the installation.
Examples:
My own test setup sends as Content-Type: text/plain; charset=UTF-8; format=flowed
The test.elgg.org seems to include no Content-Type header at all.
Either way, the emails show visible tags.
System details:
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
Elgg Release 1.0, version 2008042301
Change History (3)
comment:1 follow-up: ↓ 2 Changed 5 years ago by marcus
comment:2 in reply to: ↑ 1 Changed 5 years ago by cowley
Replying to marcus:
test.elgg.org is lagging a few versions behind whats in SVN so that explains that much.
Good to know. I haven't updated today but will right now.
The email system sends what it is given, so it is likely being passed html to send. Can you tell me what you were doing to trigger the message? Was it a blog post comment etc?
It happens when "Send a message" is used. Notifications such as "xxxx has made you a friend" don't have any stray tags (but don't carry any user text anyway) and I don't get any email notifications about blog comments.
comment:3 Changed 5 years ago by marcus
- Resolution set to fixed
- Status changed from new to closed
(In [svn:1922]) Fixes #245: Tags now stripped from email messages.

test.elgg.org is lagging a few versions behind whats in SVN so that explains that much.
The email system sends what it is given, so it is likely being passed html to send. Can you tell me what you were doing to trigger the message? Was it a blog post comment etc?