473,324 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

problem with Maildefinition in CreateUserWizard

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
May 18 '07 #1
0 1078

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John | last post by:
Hi I was working fine with create user wizard and the default membership provider. I have now customised the membership provider as per attached web.config. The create user wizard picks up the...
2
by: Learner | last post by:
Hello, I have defined another textbox control in the CreateUserWizard control and this is how I am trying to get the value of it in the code behind page is below im myStep As...
2
by: guoqi zheng | last post by:
Dear sir, I am using the createUserWizard of ASP.NET 2.0. I am trying to add two extra fields to it. FirstName and LastName. However I did not find out how can get the value out of this two...
0
by: Smokey Grindle | last post by:
is there anyway to use a maildefinition object outside of an aspx page? say in a user control library? i need to use it or something similar in my web control library, but cant... thanks!
0
by: Nehpets | last post by:
I'm trying to setup a web site that uses active directory for user authentication under asp.net 2.0. For testing, I have separately installed two virtual servers. The first is a domain...
2
by: Dave | last post by:
Hi, i use this tag within the CreateUserWizard control: <MailDefinition BodyFileName="pw.txt" From="welcome@mydomain.xy" Subject="your passwoord"/> The content of file pw.txt is this:
3
by: Ken Fine | last post by:
I am using ASP.NET's CreateUserWizard control. I want to force the visitor to use a username and e-mail address that I am providing in programming, and I do not want the visitor to be able to edit...
0
by: Albert | last post by:
Hi, i want to send the recovered password using Maildefinition. But i don't find any "password" to add to the control PasswordRecovery1 as body of the email. It works but only the username is in...
2
by: Jeff | last post by:
Hey asp.net 2.0 I've configured PasswordRecovery to send password to the user: <MailDefinition Subject="Ditt Passord" BodyFileName="~/Emails/PasswordRecovery.txt" > </MailDefinition> The...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.