Skip to content

API Library eMail

Robert Polak edited this page Jul 23, 2019 · 28 revisions

Home / API Library / eMail

API Library eMail

API Library eMail are used Send an Email. The API Library eMail Methods list with Parameters, Return examples.

Configuration

Configuration- Details

Configuration of Email variables at App.config.

<configuration>
	<AppSettings>
		<!-- EMAIL - MAIL - Sender (it covers From and ReplyTo as well) -->
		<add key="API_EMAIL_MAIL_SENDER" value="" />
		<!-- EMAIL - SMTP - Server IP address -->
		<add key="API_EMAIL_SMTP_SERVER" value="" />
		<!-- EMAIL - SMTP - Port number -->
		<add key="API_EMAIL_SMTP_PORT" value="" />
		<!-- EMAIL - SMTP - Switch on [TRUE] or off [FALSE] the authentication -->
		<add key="API_EMAIL_SMTP_AUTHENTICATION" value="FALSE" />
		<!-- EMAIL - SMTP - Set the Username if authentication is required -->
		<add key="API_EMAIL_SMTP_USERNAME" value="" />
		<!-- EMAIL - SMTP - Set the Password if authentication is required -->
		<add key="API_EMAIL_SMTP_PASSWORD" value="" />
		<!-- EMAIL - SMTP - Switch on [TRUE] or off [FALSE] the SSL -->
		<add key="API_EMAIL_SMTP_SSL" value="FALSE" />

		<!-- EMAIL - TEMPLATE - Title -->
		<add key="API_EMAIL_TEMPLATE_TITLE" value="" />
		<!-- EMAIL - TEMPLATE - Sub Title -->
		<add key="API_EMAIL_TEMPLATE_SUBTITLE" value="" />
		<!-- EMAIL - TEMPLATE - Website Name -->
		<add key="API_EMAIL_TEMPLATE_WEBSITE_NAME" value="" />
		<!-- EMAIL - TEMPLATE - Website URL -->
		<add key="API_EMAIL_TEMPLATE_WEBSITE_URL" value="" />
	</AppSettings>
</configuration>

Send

Send - Details

Send an Email by using the default template. Returns void

Method: API.eMail.Send

Parameters: template

Name Type Default Description
template String Properties.Resources.eMail default template

Return: void

Clone this wiki locally