Click or drag to resize
AuthenticationHelperSendRegistrationEmails Method
Sends registration emails. Returns string with error if any exception occurred.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
public static string SendRegistrationEmails(
	UserInfo ui,
	string approvalPage,
	bool requiresConfirmation,
	bool sendWelcomeEmail
)

Parameters

ui
Type: CMS.MembershipUserInfo
Send e-mail to this UserInfo
approvalPage
Type: SystemString
Registration approval page URL
requiresConfirmation
Type: SystemBoolean
Indicates if e-mail with confirmation link should be send
sendWelcomeEmail
Type: SystemBoolean
Indicates if user welcome e-mail should be sent

Return Value

Type: String
Returns error if any exception occurred during sending e-mails.
See Also