Products

Solutions

Resources

Partners

Community

About

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 ...Can i turn of new registration email on the portal or via code?Can i turn of new registration email on the portal or via code?
Previous
 
Next
New Post
1/31/2012 4:12 AM
 

Hi Guys

i am busy writing a registration module for DNN 6.1.2. i noticed that once the user registers they get an email back. how do i turn this off, as i would like to build my own mailer with tokens.

 is there a admin , host or web.conifg settings? Or is there a way to do this via code ?

 
New Post
2/1/2012 12:26 AM
 
I don't know if there is a user interface option to turn off registration email. Maybe you can make changes to the email template instead of write new custom module. You can view/update the DNN built-in email templates by go to menu Admin > Languages, select Language Editor. Look for email templates in GlobalResources file.

If you write create your own rRegistration module, go to Admin > Site Settings then open Advanced Settings section. Update the registration page to point to you new module.
 
New Post
11/21/2012 9:43 AM
 
Hi
This feature is going to be added to DNN 7.0.0.
Reference:
http://www.dotnetnuke.com/Resources/F...

Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
11/21/2012 9:50 AM
 
Depending on how you're adding the user, you don't need to send the email. We're just finishing up our own registration module and send our own email (verification step) instead of the core email.

var newUser = new UserInfo
{
FirstName = txtRegisterFirstname.Text,
LastName = txtRegisterLastname.Text,
PortalID = PortalId,
Email = txtRegisterEmail.Text,
Username = txtRegisterUsername.Text,
DisplayName = string.Concat(txtRegisterFirstname.Text, " ", txtRegisterLastname.Text),
IsSuperUser = false,
Membership = {Password = txtRegisterPassword.Text}
};

//By default have their membership denied
newUser.Membership.Approved = false;

//Attempt to create
var createStatus = MembershipProvider.Instance().CreateUser(ref newUser);

//If successful add to the default roles for the portal
if (createStatus == UserCreateStatus.Success)
{

// more code to handle successes or failures below...then we create and send an email asking the user to click a link and verify their account.




Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Can i turn of new registration email on the portal or via code?Can i turn of new registration email on the portal or via code?


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