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: 8.2.23
Syntax
C#
public static string SendRegistrationEmails(
	UserInfo ui,
	string approvalPage,
	string password,
	bool requiresConfirmation,
	bool sendWelcomeEmail
)

Parameters

ui
Type: CMS.MembershipUserInfo
Send e-mail to this UserInfo
approvalPage
Type: SystemString
Registration approval page URL
password
Type: SystemString
User password
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