harryworld / mean-email

MEAN Stack with Mailgun in practice
1 stars 1 forks source link

doubt..!! #1

Open suriyaJaay opened 7 years ago

suriyaJaay commented 7 years ago

could you pls explain me the flow of the process.?

i just got following issues from my cmd terminal

{ message: 'Mailing list NAME@MAILINGLIST.COM not found' }

got an error: [Error: Sandbox subdomains are for test purposes only. Please add your own domain or add the address to authorized recipients in domain settings.]

i don't have domain for my own. except gmail

app.js

i just changed the following things

var api_key = 'MAILGUN-API-KEY'; var domain = 'YOUR-DOMAIN.com'; var from_who = 'your@email.com';

with below

var api_key = 'key- here i put my own api key'; var domain = 'sandbox43243243242342342.mailgun.org'; ---> is this correct? var from_who = 'MyName@MyCompanyName.in';

could you pls tell me what is actually domain name and where can i get from mailgun dashboard.?

from my mailgun account i found my api key and email validation key from settings

thank you

harryworld commented 7 years ago

When you register with Mailgun, they will provide you a default sandbox settings You can enquire maligun for the details if you don't find it