| Author |
Message |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sat Apr 14, 2007 4:19 pm |
|
I have implemented a "send event to friend" feature in GCalendar, similar to "send this story to a friend" in the News module.
I send the link just like the RN2.10 News module does; meaning I put in a plain text email my link back to my site, complete with the &'s in the link converted to &.
This seems to work with gmail and Yahoo mail. But I had a user complain about the & characters. Is this mail client program specific? Would it be better to un-htmlentity'ize the & characters for the email? |
|
|
|
 |
djmaze Subject Matter Expert

Joined: May 15, 2004 Posts: 557 Location: http://tinyurl.com/5z8dmv
|
Posted:
Sat Apr 14, 2007 4:37 pm |
|
text email: &
html email: &
the html email must have the content-type: text/html
the text email must have the content-type: text/plain |
|
|
|
 |
Gremmie Former Moderator in Good Standing

Joined: Apr 06, 2006 Posts: 2401 Location: Iowa, USA
|
Posted:
Sat Apr 14, 2007 4:59 pm |
|
Ah that makes sense, thanks. By default I assume the PHP mail function sends text/plain? And you would have to specify your own header to make it text/html? |
|
|
|
 |
djmaze Subject Matter Expert

Joined: May 15, 2004 Posts: 557 Location: http://tinyurl.com/5z8dmv
|
Posted:
Sun Apr 15, 2007 5:48 am |
|
|
|
 |
|
|
|
|