Send email via API

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
vintoICT
User
Posts: 407

Send email via API

Post by vintoICT »

Is it possible to send email via API ? i have an end point for insert . i want to sent the data inputed as email .


arbei
User
Posts: 9384

Post by arbei »

There is no built-in API for sending email, but you can Create your own API and use the Email class or the SendEmail() function:

// Function to send email
function SendEmail($fromEmail, $toEmail, $ccEmail, $bccEmail, $subject, $mailContent, $format, $charset, $smtpSecure = "", $attachments = [], $images = [], $members = null)

Post Reply