Está en la página 1de 3

Company |MediaFactory |Developer

developerdocumentationr23245
EmailRegistration
Home::3Applications::3.1Thetemplateengine::3.1.4Emailtemplates::3.1.4.9EmailRegistration

RegistrationEmail
TheRegistrationProcessissetupinsuchawaythattheusercanreceive2differentemails: Activationemail:Theactivationemailissenttouserstoprovidealinktocompletetheregistration process Registrationemail:Senttotheusertoprovideverificationthattheuser'saccounthasbeen registeredalsoknownasawelcomeorconfirmationemail Theusermayreceiveeitheroftheseemails,bothoftheemails,ornoneatall,dependingonthe configurationofregisterandactivateaccountintheApplicationSettings.

Configureactionsettings
Sendregistration(welcome)email FromyourapplicationinMediaFactory,selectSettings ClicktheUserActionstab Underregister/action/v2/register,checktheboxemailActivation Save Requireactivationbeforeregistration FromyourapplicationinMediaFactory,selectSettings ClicktheUserActionstab Underregister/action/v2/register,checktheboxemailActivation Underregister/action/v2/accountactivation,checktheboxemailConfirmation Save

Createtheemailtemplate
Opentheapplicationinyourproject SelectEmailTemplates Createanewemailandfillinthefollowingfields: TemplateNamesettheTemplateNameto'registration'. WrapperTemplatesetto'text' Subjectexample:'Welcome!' Senderexample:'noreply@yourdomain.com' ClickCreate Enterthetemplatecontents(sampletextemailcodeisprovidedbelow) Savethetemplate

SupportedAttributes
Name Description

app_maindomain (String)Thedomainoftheproject. app_name firstname lastname username user_id (String)Thenameoftheproject. (String)Thefirstnameoftherecipientoftheemail(thenewuserwhojustcreatedhis/heraccount). (String)Thelastnameoftherecipientoftheemail(thenewuserwhojustcreatedhis/heraccount). (String)Theusernameoftheoftherecipientoftheemail. (Integer)Theidoftheoftherecipientoftheemail.

DeprecatedAttributes
Name secret Description Anencryptedvalueusedtoactivatetherecipient'saccount.

Example:
<itl=txlg:et> dvsye"etainlf" <>el$frtae$lsnm}<p pHlo{$isnm}{$atae,/> <>hnsfrrgseigwt$apnm}<p pTakoeitrnih{$p_ae./> <>ead,/> pRgrs<p <>h$apnm}Ta<p pTe{$p_aeem/>

<dv /i>

SeeAlso:
ActivationEmail ApplicationTemplates WrapperTemplates Components Variables Actions

<<3.1.4.8EmailMediaApproved

3.1.4.10EmailTellAFriend>>

También podría gustarte