problem with Maildefinition in CreateUserWizard

B

Bob

Hi,

I want to send the pasword with MailDefinition when someone creates an
account with CreateUserWizard control.
I defined a txt file with this:

Welcome new user, <br> <br>
Your password is: ##password## <br><br>
Follow this link: ##url## <br><br>
The e-team

The code-behind:
e.Message.Body = e.Message.Body.Replace("##password##",
CreateUserWizard1.Password)
e.Message.Body = e.Message.Body.Replace("##url##", "http://lwww..cc.vb")



When using property IsBodyHtml=true, the message looks good except that the
link is not clickable:

Welcome new user,
Your password is: xxxxxxxx
Follow this link: http://www.cc.vb
The e-team

When using property IsBodyHtml=false (and removing all <br>), the link is
clickable but the message is rendered as one line, like this:
Welcome new user Your password is: xxxxxxxx Following this link:
http://www.cc.vb The e-team

Is it possible to have the linebreaks and the link clickable?
Thanks
Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top