AuthenticationHelper.SendRegistrationEmails Method |
Sends registration emails. Returns string with error if any exception occurred.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntaxpublic static string SendRegistrationEmails(
UserInfo ui,
string approvalPage,
bool requiresConfirmation,
bool sendWelcomeEmail
)
Parameters
- ui
- Type: CMS.Membership.UserInfo
Send e-mail to this UserInfo - approvalPage
- Type: System.String
Registration approval page URL - requiresConfirmation
- Type: System.Boolean
Indicates if e-mail with confirmation link should be send - sendWelcomeEmail
- Type: System.Boolean
Indicates if user welcome e-mail should be sent
Return Value
Type:
StringReturns error if any exception occurred during sending e-mails.
See Also