drupflare/worker - v1.0.4
Preparing search index...
ops/mail
sendViaApi
Function sendViaApi
sendViaApi
(
transport
:
{
accountId
:
string
;
from
:
string
;
kind
:
"api"
;
token
:
string
;
}
,
message
:
MailMessage
,
deps
?:
MailDeps
,
plan
?:
string
,
)
:
Promise
<
string
>
posts one message to the Cloudflare Email Sending HTTP API
Parameters
transport
:
{
accountId
:
string
;
from
:
string
;
kind
:
"api"
;
token
:
string
}
message
:
MailMessage
deps
:
MailDeps
= DEFAULT_MAIL_DEPS
Optional
plan
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
drupflare/worker - v1.0.4
Loading...
posts one message to the Cloudflare Email Sending HTTP API