Once you have the fields in your table you should give the user some way to change these settings. They will need to be different with each site you install, so the user will need to have access to them.
Tip: On one of our internet machines we run a mail server. In our shipping programs we default all the above settings to that (internet) mail server. This increases the chances of the email sending "just working" immediately after the program is installed. The customer can change the settings later if they like. Of course if they've blocked the outgoing port in their firewall then they won't be able to send via our server, but then they will have their own internal server they can route the mail through.
Name | Type | Description |
---|---|---|
pEmailFrom | String | The from address of the person sending the email. |
pEmailTo | String | A semi-colon separated list of email addresses that the email is going To. |
pEmailSubject | String | The subject line of the email. |
pEmailCC | String | A semi-colon separated list of email addresses who will receive a cc of the mail. |
pEmailBcc | String | A semi-colon separated list of email addresses who will receive a bcc of the mail. |
pEmailFileList | String | A comma separated list of files to attach to the email. |
pEmailEmbedList | String | A comma separated list of images that have been embedded in the email. (If left blank this will be constructed by the SendEmail object as long as the images are accessible.) |
pEmailMessageText | String | The "text" contents of the email itself. |
pEmailMessageHtml | String | the "html" contents of the email itself. |
pEmailSettingsPath | String | not used |
pEmailTest | Long | not used |
pHelo | String | not used |
pSSL | Long | not used |
pStartTLS | Long | not used |
pSign | Long | Digitally signs the email if the necessary certificate is installed. |
pHide | Long | Indicates to the Email Sending window if it should be visible or not. |
Property | Default Value |
---|---|
OptionsSignedProtocol | application/x-pkcs7-signature |
OptionsSignedMicAlg | sha256 |
OptionsSigName | smime.p7s |