Author: YdoIbother | Posted on: 8/6/2008 5:49:35 AM | Views : 359

Hi,

I'm trying to work out how to get the CreateUserWizard to email using the DisplayName (or equivalent) so that the recipient sees a name (e.g. Ben Miller) instead of an email address in the From field of their email client.  In my CreateUserWizard control I have tried putting a name (e.g Ben Miller) in like this:

    <asp:CreateUserWizard...>
    <MailDefinition BodyFileName="~/BodyFile.txt"
            Subject="Welcome new User" From="user@domain.com, Ben Miller">
    </MailDefinition>
    ...
    </asp:CreateUserWizard>

I have also tried using the web.config file, but neither of these seem to use the DisplayName

    <mailSettings>
      <smtp from="user@domain.com, ...

Go to the complete details ...