Question

I'm using stock Asp.net membership with built in Login controls, etc. Problem is that the confirmation email that is send by registering has a body that is blank. It should have a link in it that the user clicks on to confirm their email and register. The email does send and is delivered ok except the blank body. Anyone know what I'm doing wrong ? TIA

Was it helpful?

Solution

Are you assigning the content of the message to the message body?

message.Body = "Dear Subscriber, ...";

OTHER TIPS

make sure your code includes:

message.IsBodyHtml = true;

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top