Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send email from my custom mailgun SMTP address

Tags:

Sorry if I have not understood something but (I believe) I have searched enough for this.

  1. First things first: I have successfully set up my domain (mydomain.gr) which has been verified.
  2. I have created a custom SMTP address ([email protected]).
  3. I have created a route which forwards everything sent at *@mydomain.gr to my personal Gmail address.
  4. Test 1: If I send an email from an external address ([email protected]) to [email protected] it is forwarded to my personal Gmail. OK!
  5. Test 2: If I send from [email protected] to any external address ([email protected]) I get the error Free accounts are for test purposes only. Please upgrade or add the address to authorized recipients in Account Settings. Of course the password is correct while sending. Otherwise another error is raised.

I think I have missunderstood some things...

So here comes my question:

How can I send email from my custom SMTP email address? (I do not wish to upgrade my account since this -free- Mailgun account will handle very small amount of emails. So, 10K are more than enough for me.)

like image 480
nik_m Avatar asked Feb 03 '17 15:02

nik_m


People also ask

How do I send an email using Mailgun?

Send via API Run this: curl -s --user 'api:YOUR_API_KEY' \ https://api.mailgun.net/v3/YOUR_DOMAIN_NAME/messages \ -F from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \ -F to=YOU@YOUR_DOMAIN_NAME \ -F [email protected] \ -F subject='Hello' \ -F text='Testing some Mailgun awesomeness!

Is Mailgun a SMTP?

Selecting A Free SMTP ServiceMailgun is an SMTP service provider for transactional email and email marketing campaigns, offering robust features, support, and analytics—for free!

How do I find my SMTP server address?

Android (native Android email client)Select your email address, and under Advanced Settings, click Server Settings. You'll then be brought to your Android's Server Settings screen, where you can access your server information.


1 Answers

OK. After some emails with the mailgun team I finally figure it out!

All I had to do was to upgrade my account (just enter credit card info). Now I can send email from [email protected] to anyone.

Thank you mailgun!

like image 88
nik_m Avatar answered Oct 08 '22 10:10

nik_m