If the user requires e-mail notification, this API call is used:
Call w3HTMLeComEmailInfo("MT.Template",Email,EmailTo) |
The e-mail parameter in the call is the table of e-mail Item-IDs read from the parameter files. These items are read by the w3HTMLeComCCInfo or the w3HTMLeComCKInfo call previously made.
The EmailTo parameter is entered by the user from the previous page.
The w3HTMLeComEmailInfo application reads the Document file using the supplied e-mail Item-IDs.
The e-mail section used is the standard one from the default template.
44 <!--MT.Email--> 45 <input type=hidden name=emailfrom value="#EmailFrom#"> 46 <input type=hidden name=emailsubject value="#EmailSubject#"> 47 <input type=hidden name=emailtext value="#EmailText#"> 48 <input type=hidden name=emailto value="#EmailTo#"> 49 <!--/MT.Email--> |
NOTE |
The EmailSubject and EmailText are the actual texts that are sent to the user. If these need to include product details, pricing, and other information, they must be included here. |