

Is Maxprog software prepared for macOS 12 Monterey? NEW Is Maxprog software prepared for Windows 11? NEW Here is a very simple snippet to send an email: from questions from our MaxBulk Mailer users Instead use environment variables or use the Python To your settings.py file or commit it to a public repository. Note that we have some sensitive informations here, such as the EMAIL_HOST_PASSWORD. To configure you Django Project, add the following parameters to your settings.py: EMAIL_HOST = '' EMAIL_PORT = 587 EMAIL_HOST_USER = EMAIL_HOST_PASSWORD = 'mys3cr3tp4ssw0rd' EMAIL_USE_TLS = True If the verification was successful, you will see the screen below: Wait like 5 minutes and give it aĬlick on Check DNS Records Now and see if Mailgun can verify your domain (remember, this process can take up to Sometimes it can take an eternity to propagate.īut my experience with brand new domains is that it usually happens very quickly. Remember, in the previous screenshot you are supposed to do in your DNS provider!

In a similar way, add now a CNAME for tracking opens, clicks etc. In the Mailgun website you will see the following instructions:Īdd the DNS records accordingly in your DNS provider: Try to find something that says “manage”, “DNS records”, “Advanced DNS” The next steps should be more or less the name. In my name, I registered the “domain using Service/website you registered your domain name. To perform the next steps, you will need to access the DNS provider of your domain. Subdomain, so you will need to provide the Domain Name like this: mg.įrom now on, always change with your domain name. I will setup the Mailgun service for a domain I own, “For the setup, it’s advised to use the “mg”

Mailgun account, click on Domains and then Add New Domain. Makes it useless, unless you know beforehand the email addresses you will be sending emails. Will be some limitations, such as requiring to configure “Authorized Recipients” for custom domains, which pretty much If you don’t provide a payment information (even though you are only going to use the first 10,000 free emails), there The first 10,000 emails you send are always free. Mailgun is great and super easy to setup. So, I thought about sharing the wholeĮmail setup with a better option to get started. They don’t offer free plans anymore, nowadays it’s just a 30 days free trail. Previously I’ve published in the blog a post about how to configure SendGrid to send emails. In this tutorial you will learn how to setup a Django project to send emails using the Mailgun service.
