Manager class for EmailItems
Includes API for creating and sending emails. Eg
var builder = services.emailManager.emailBuilder(); builder .recipientAddress(recipient.email) .fromAddress(sender.email) .subject(sender.formattedName + " has sent you an e-card") .html("

Hi "+ recipient.formattedName +"

" + '

' + sender.formattedName + ' has sent you an e-card. Please click here to view

'); builder.build();


Properties

Name Returns Notes Example
groupEmailLimit Integer
emailTemplates List
automationEmailLimit Integer

Methods

Name Returns Notes Example
emailSearch ( q, funnelId, job, startDate, endDate, startRow, maxSize ) KSearchResponse
findJobsByDate ( startDate, finish ) List
emailStatsDb ( j, startDate, finish ) EmailStatusCounts Does a query on the primary database. This does not apply an org hierarchy filter, but is the most authoritative
parseEmailAddress ( emailAddress ) MailboxAddress
emailItemUpdated ( emailItem ) void
updateEmailComplete ( emailItem, fireEvent ) void
updateEmailFailed ( emailItem, fireEvent ) void
updateEmailOpened ( emailItem, fireEvent ) void
updateEmailConverted ( emailItem, fireEvent ) void
createSendAttempt ( emailItem ) EmailSendAttempt
sendAttemptUpdated ( esa ) void
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.