JegasAPI - Jegas, LLC - Copyright(c)2016

Unit uj_email

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

 

Overview

Functions and Procedures

function bJAS_Sendmail(p_Context: TContext; p_sFrom:string; p_sTo: string; p_sSubject: string; p_saMsg: ansistring): boolean;
procedure JASAPI_Email(p_Context: TCONTEXT);
function bEmail_TaskReminder(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
function bEmail_ValidateUser(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
function bEmail_ProcessEvent(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
function bEmail_ResetPassword( p_Context: TCONTEXT; p_saUID, p_saKey: ansistring; p_saEmail: ansistring; p_saTopMessage: ansistring; p_saAlias: ansistring ): boolean;
function bEmail_ShareVideo(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
function bEmail_DataExportComplete(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
function bEmail_Generic( p_Context: TCONTEXT; p_saSubject: ansistring; p_saMessage: ansistring ): boolean;

Description

Functions and Procedures

function bJAS_Sendmail(p_Context: TContext; p_sFrom:string; p_sTo: string; p_sSubject: string; p_saMsg: ansistring): boolean;

Sends p_saMsg via Sendmail.

procedure JASAPI_Email(p_Context: TCONTEXT);

Sends Specific kind of email: e.g. Task Reminder example: .?jasapi=email&type=taskreminder&uid=123456789

function bEmail_TaskReminder(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
 
function bEmail_ValidateUser(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
 
function bEmail_ProcessEvent(p_Context: TCONTEXT; p_saUID: ansistring): boolean;
 
function bEmail_ResetPassword( p_Context: TCONTEXT; p_saUID, p_saKey: ansistring; p_saEmail: ansistring; p_saTopMessage: ansistring; p_saAlias: ansistring ): boolean;
 
function bEmail_ShareVideo(p_Context: TCONTEXT; p_saUID: ansistring): boolean;

.?jasapi=email&type=sharevideo&videoid='+encodeURI(p_VideoUID)+'&email='+sEmail;

function bEmail_DataExportComplete(p_Context: TCONTEXT; p_saUID: ansistring): boolean;

This is used to send email when a background export has completed launched from a Filter+Grid Screen. Note - UID is jfile UID. From there we get task, then person.

function bEmail_Generic( p_Context: TCONTEXT; p_saSubject: ansistring; p_saMessage: ansistring ): boolean;

This Allows Sending email to current user using the Work Email Address using content you specify.

http://www.jegas.com
Generated by PasDoc 0.14.0.