sendMail has `any` result type
See original GitHub issueThe result of the sendMail
call is currently typed as any
. It’d be helpful if it was strongly typed.
const ownerEmailResult = await sendMail({
subject: 'Here's an email!',
to: owner.body?.email,
component: (
<EventCreatedOwnerTemplate {...req.body} name={owner.body?.full_name!} />
),
forceDeliver: true,
});
// ownerEmailResult is type <any>
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8
Top Results From Across the Web
Some Useful sendmail Configurations - Linux Network ...
There are myriad possible sendmail configurations. In this space we'll illustrate just a few important types of configuration that will be useful in...
Read more >[Chapter 36] 36.5 sendmail's exit() Status
When bouncing mail, sendmail tries to set the sender to Postmaster if no sender can be determined. Before it can use that address...
Read more >Debugging sendmail problems
There are many tools available for debugging problems with sendmail. For the most part, standard types of configurations shouldn't provide any problems.
Read more >php - How can I get the error message for the mail() function?
1- I installed sendmail from my package manager shell> dnf install sendmail · 2- I started it shell> service sendmail start · 3-...
Read more >Linux sendmail command help and examples - Computer Hope
On Unix-like operating systems, sendmail is a general purpose e-mail routing facility that supports many kinds of mail-transfer and delivery ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think @bruceharrison1984 is saying that the return value should be typed. If I’m not mistaken, that line you reference is showing that the parameters are typed
can I be assigned this?