![]() Run your repl now to set these environment variables. Click on the view icon next to Private API key and copy the revealed string somewhere safe.īack in your repl, create two environment variables, MAILGUN_DOMAIN and MAILGUN_APIKEY, and provide the strings you copied from Mailgun as values for each. To find your API key, navigate to Settings → API Keys. Click on that and copy the full domain name (it looks like: ). You should see a single domain name, starting with "sandbox". To find your domain, navigate to Sending → Domains. Once your account is created and verified, you'll need an API key and domain from Mailgun. ![]() Sign up for a free account now, and verify your email and phone number. To avoid having to set up our own email server, we'll use the Mailgun API to actually send emails. Now that we can retrieve content for our email digests, we need a way of sending emails. We've now built our feed scraper, which we'll use as a library in our main application. Once you're done, remove the print statements from the bottom of the file. Play around with values of since and see what difference it makes. You should see a large number of results in your terminal. Important note: Sometimes, when stopping and starting your repl, you may see the following error message:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |