C
C#2mo ago
Mauricio

✅ Send automated email.

Hi everyone. I just finished a web scraper assignment that I got from school. I want to build on it and implement a system that lets me take the text that the web scraper generates and send it once a day as an email. What is the best way to do it?
8 Replies
felsokning
felsokning2mo ago
If you have/use Microsoft 365 (or whatever it's called, now), Microsoft Graph might be viable there. https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http
kurumi
kurumi2mo ago
You need to setup smtp in your application and then create a background job using one of those: 1) hangfire 2) quartz 3) background service
Jimmacle
Jimmacle2mo ago
you could also use an email service like sendgrid, it was free for low volumes of email last i checked
Mauricio
MauricioOP2mo ago
What is smtp? Is sendgrid like a cloud service for email?
kurumi
kurumi2mo ago
Simple Mail Transfer Protocol
The Simple Mail Transfer Protocol (SMTP) is an Internet standard communication protocol for electronic mail transmission. Mail servers and other message transfer agents use SMTP to send and receive mail messages. User-level email clients typically use SMTP only for sending messages to a mail server for relaying, and typically submit outgoing ema...
Jimmacle
Jimmacle2mo ago
yes
Mauricio
MauricioOP2mo ago
Ok cool! Thank you very much. $close
MODiX
MODiX2mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server