Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# YKS 8/27/2007 11:19 AM

Hi

I try to send emails with a template use the functions and the structure of the Core of Cuyahoga.
I send emails and I create my own template email.
I have a question in my results emails the html tags dont enconding and see the html tags.


Thanks for your help
# martijnb 8/27/2007 2:09 PM
At this moment, the default implementation only sends e-mail in plain text. To send HTML emails, you have to change SmtpNet2EmailSender.cs to allow HTML e-mails or (maybe better) create your own implementation of IEmailSender that does HTML. In /Config/services.config you can then change the core.emailsender component to use your own implementation.
To be honest, I don't have that much experience with HTML e-mails, so maybe others can comment on possible issues with sending HTML e-mails with the Cuyahoga infrastructure.
# YKS 8/27/2007 3:27 PM
martijnbAt this moment, the default implementation only sends e-mail in plain text. To send HTML emails, you have to change SmtpNet2EmailSender.cs to allow HTML e-mails or (maybe better) create your own implementation of IEmailSender that does HTML. In /Config/services.config you can then change the core.emailsender component to use your own implementation.
To be honest, I don't have that much experience with HTML e-mails, so maybe others can comment on possible issues with sending HTML e-mails with the Cuyahoga infrastructure.

Ok thanks! I try it.