Is it possible to send email via API ? i have an end point for insert . i want to sent the data inputed as email .
Send email via API
-
- User
- Posts: 9384
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)