en-USnl-NL
Goal:
Setup of the mailfunction that serves the "Anonimus GuestUser Mailing".

Execution:
Open the setup page of your module.


Due to the extentions _KEY_ZKN_SPN combination, the settings module is extended with extra mail handling fields.
On the right side you will notice the SQL fields that you gave the _MPM extentions, and also the _MAIL extention.

The set up:
Attatch the _SPN extention to the guest's name field. This will trigger the Application generator to build the mail settings in the Settings module.
In the "SPNFieldName" you will place the text that is presented to the guestuser that enters this modulepage.
Fill it with: "Type your entrycode or click the New! button".

In the "SPNMailBodyText" comes the actual message with SQL fieldnames as substitution blocks enclosed in square brackets.
You may copy/paste these from the fieldlist on the right side of the screen.
Fill it with:

Thank you, [YCActivityPlan10_Name_MPM_GRD], for subscribing for the [YCActivityPlan9_YCActivities_DDL_MPM_GRD] event.

Your subscription is received and we confirm:
# of participants: [YCActivityPlan18_NumberParticipants_INT_MPM_GRD]

Your entrycode for this event is: [YCActivityPlan14_Clientid_KEY_ZKN_MPM_GRD_NDT]

Keep this mail in a secureplace for reference.

See you then!
The activity officer.

In the "MailSubjectText" comes the subject of the mail. The same substitutionrules apply here as well.
Fill it with: "Thanks for your submission at the [YCActivityPlan9_YCActivities_DDL_MPM_GRD] event. Your entrycode is: [YCActivityPlan14_Clientid_KEY_ZKN_MPM_GRD_NDT]".

Now save the settings and test your module.
The result should be an e-mail that looks like this:

<Subject>
Thanks for your submission at the Hiking event. Your entrycode is: 7609MA_29
</Subject>
<Body>
Thank you, Jos Richters, for subscribing for the Hiking event.
Your subscription is received and we confirm:
# of participants: 1

Your entrycode for this event is: 7609MA_29

Keep this mail in a secure place for reference.

See you then!
The activity officer.
</Body>


You're done with this lesson.


Continue on: Anonimus GuestUser sign-in