VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.96k stars 1.89k forks source link

Mailgun feature is still not working after testing different approaches #1952

Open jkbaseer opened 6 years ago

jkbaseer commented 6 years ago

Hello Guys, I have been trying this mailgun in every possible approaches i could but none of them is working.

I read the mailgun notes from vulcan on this both doc http://docs.vulcanjs.org/settings.html http://docs.vulcanjs.org/email.html#Setup

1. I put this in settings.json mailUrl: “smtp://postmaster@mail.ideasforsocial.org:dummypassword@smtp.mailgun.org:587/“ (Based on http://docs.vulcanjs.org/settings.html screenshot. According to that username should be default which is Postmaster)

That doesn't work.

  1. I tried like this mailUrl: “smtp://jkbaseer@mail.ideasforsocial.org:dummypassword@smtp.mailgun.org:587/“ without using default This doesn't work as well.

  2. Non Vulcan documents https://themeteorchef.com/tutorials/mailing-lists-with-mailgun { "private": { "MAIL_URL": "", "mailgun": { "apiKey": "", "domain": "" // e.g. sandbox1b176ab9a55047589736c38949427780.mailgun.org } } }

Doesn't work as well.

would you be able to advice why? Do we need to change anywhere except settings.json or I need any additional password for it? Also this debugging will be very useful if it works image

could you kindly advice ?

SachaG commented 6 years ago

If postmaster@mail.ideasforsocial.org is your username then you have to encode the @. So it should be: postmaster%40mail.ideasforsocial.org.

jkbaseer commented 6 years ago

Thanks Sacha. Is this %40 is for every @ symbol or just only in settings.json?

I converted like this

"defaultEmail": "ideasforsocial@gmail.com", "mailUrl": "smtp://postmaster%40mail.ideasforsocial.org:dummypass%40smtp.mailgun.org:587/",

SachaG commented 6 years ago

You only need to convert the first @.

jkbaseer commented 6 years ago

i have tried putting only on the first and then the last part as normal. It's still not working. I try to comment, add new post, none of them automate any triggers. I have checked mailgun settings, everything looks perfect (All records are verified and active, Credit card is added, the manual test works)

"defaultEmail": "ideasforsocial@gmail.com", "mailUrl": "smtp://postmaster%40mail.ideasforsocial.org:######@smtp.mailgun.org:587/",

can there be any disconnection with Mail Package?

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.