Giter Site home page Giter Site logo

can't send emails about vulcan HOT 12 CLOSED

vulcanjs avatar vulcanjs commented on May 17, 2024
can't send emails

from vulcan.

Comments (12)

SachaG avatar SachaG commented on May 17, 2024

It seems like this might be more of an issue with your Meteor config than Telescope. Are the emails appearing in the console log?

I've only used Mailgun to send emails from Telescope, but I can confirm that this at least works. Maybe you could give it a try? (more info here: http://docs.meteor.com/#email )

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

I have been trying with mailgun (my app of choice is mandrill.com) but nothing happens. should i place the email package somewhere? Right now local folder in .meteor is in .gitignore so maybe that's why it does not load?

from vulcan.

SachaG avatar SachaG commented on May 17, 2024

You should not have to do anything about the email package, it's included by default with Meteor.

I'm not sure about .meteor, I don't think it should be in .gitignore… but anyway that should not make any difference if you're testing locally.

In server/users.js there's a testEmail function you can call (just do Meteor.call("testEmail") in your browser's console) to fire off an email (just put your own email in there first). Maybe you can use that to see if it's working or not?

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

I've already pushed to Heroku. I can't really find a solution for this. Might just start again and try to set the email package before deploying.

from vulcan.

tmeasday avatar tmeasday commented on May 17, 2024

@iamues So your heroku config looks something like

MAIL_URL:      smtp://<user>%40heroku.com:<pass>@smtp.sendgrid.net:587/

?

I'm not sure if mailgun uses it or not but the %40 (for @ in the username) tripped me up at first..

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

@tmeasday similar, because I end up using Mandrill which has no @.

I've placed that in local/app/build/local/email/email.js

from vulcan.

tmeasday avatar tmeasday commented on May 17, 2024

If you are using heroku, why not set it with
heroku config:add MAIL_URL=….

On Friday, 30 November 2012 at 7:20 PM, Andrea wrote:

@tmeasday (https://github.com/tmeasday) similar, because I end up using Mandrill which has no @.
I've placed that in local/app/build/local/email/email.js


Reply to this email directly or view it on GitHub (https://github.com/SachaG/Telescope/issues/50#issuecomment-10881712).

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

@tmeasday apparently it is a Mandrill problem. Your solution worked with Mailgun. Thanks

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

I am trying to change the default email text in local/build/app/packages/accounts-password/email_templates.js but nothing happens. Maybe uploading the Packages to Heroku could fix this problem?

from vulcan.

tmeasday avatar tmeasday commented on May 17, 2024

I'm confused. You shouldn't be editing anything in the .meteor directory.

Why would you not just set the config var via heroku config:add?

from vulcan.

duezerouno avatar duezerouno commented on May 17, 2024

hmmm. how can i configure the Accounts.emailTemplates "from:" variable?

from vulcan.

SachaG avatar SachaG commented on May 17, 2024

I'm not sure what that variable is, I've only tried following the Meteor docs instruction for email config as outlined here: http://docs.meteor.com/#email

So you'd specify the "from" email in the Email.send() options.

from vulcan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.