Struggling to set up gmail in a MAIL_URL environment variable. I’ve used the code below but my mail is not being sent via the gmail address. Everything fires fine in development. Receive an “internal server error” when trying after deployment. Does anyone know what I am doing wrong? Would really appreciate the help.
Thank you,
Tim
MUP FILE:
{
// Server authentication info
"servers": [
{
“host”: “”,
“username”: “root”,
“password”: “”
}
],
// Install MongoDB on the server. Does not destroy the local MongoDB on future setups
"setupMongo": true,
// Application name (no spaces).
“appName”: “react”,
// Location of app (local directory). This can reference ‘~’ as the users home directory.
// i.e., “app”: “~/Meteor/my-app”,
// This is the same as the line below.
“app”: “/Users/timcorcoran/Documents/mantra_template”,
// Configure environment
// ROOT_URL must be set to your correct domain (https or http)
“env”: {
“PORT”: 80,
“MAIL_URL”: “smtp://%40gmail.com:@smtp.gmail.com:587/”
},
// Meteor Up checks if the app comes online just after the deployment.
// Before mup checks that, it will wait for the number of seconds configured below.
“deployCheckWaitTime”: 120,
// show a progress bar while uploading.
// Make it false when you deploy using a CI box.
“enableUploadProgressBar”: true
}