Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Remove dnn default register emailRemove dnn default register email
Previous
 
Next
New Post
2/25/2015 8:19 AM
 
I have the same problem, however I have a custom registration process which generated the email, etcs and still the default email is being sent.

Below is the code I am using

//Set required information to the UserInfo object
UserInfo objUser = new UserInfo();

objUser.PortalID = this.PortalId;
objUser.IsSuperUser = false;
objUser.FirstName = txtFirstName.Text;
objUser.LastName = txtLastName.Text;
objUser.DisplayName = txtFirstName.Text + " " + txtLastName.Text;
objUser.Email = txtEmail.Text;
objUser.Username = txtEmail.Text;

UserMembership objMembership = new UserMembership();
objMembership.Approved = true;
objMembership.CreatedDate = DateTime.Now;
objMembership.Email = txtEmail.Text;
objMembership.Username = txtEmail.Text;
objMembership.Password = random_string;

//Assign membership object to the UserInfo Object
objUser.Membership = objMembership;

//Register User
UserCreateStatus result = UserController.CreateUser(ref objUser);

//Check status
if (result == UserCreateStatus.Success)
{
// Save details to database and send necessary emails
}

This has happens in the latest version (7.3.4) because we have used this registration process on several sites over the past 2 years, on older version without having any additional emails.

Please help
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Remove dnn default register emailRemove dnn default register email


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out