I have been successful connecting a Gmail account with Xoauth, but I recently acquired a Namecheap privateemail account and can't for the life of me figure out how to set it up. This is the code that I have:
var smtp = nodemailer.createTransport({
host: 'mail.privateemail.com',
port: 25,
auth: {
user: 'contact#myemail.com',
pass: 'mypassword'
}
});
I saw this question and tried all the other port numbers.
It may be secured connection in that case the port should be 465
465 port for SSL, 25 or 26 for TLS/STARTTLS
According to Namecheap support website as of Nov 7, 2017 -
configuration to send messages through Namecheap Private Email server:
Outgoing server (SMTP): port 465 for SSL, port 587 for TLS/STARTTLS
Outgoing server authentication should be switched on,
SPA (secure password authentication) must be disabled.
Related
I've a domain purchased from hostmonster and node.js application hosted on the digital ocean droplet. I am using the smtp configurations in my node application with nodemailer module and not receiving the emails on any account. I've used gmail smtp settings and they are working perfect but support#cuufy.com smtp settings are not working in my node.js application.
Note: (I've tried the smtp settings on outlook and mail client roundcube and it's working fine there).
Here are my smtp settings:
const config={
host:'mail.cuufy.com',
pool: true,
tls: {
rejectUnauthorized: false
},
auth: {
user:'support#cuufy.com',
pass:'password'
},
port: 26
};
I've also attached Mail client settings in the attachment.
Help in this regard will be highly appreciated!
Hi I am using nodemailer to send email. My nodejs application is deployed on gcp instance with nginx reverse proxy. My code is able to send email locally but not from server. Note that ssl is also enabled.
note that this command is not running from telnet smtp.1and1.com 587
but this is running telnet smtp.gmail.com 587
This is my code
var transporterOptions = {
host: "smtp.1and1.com",
port: 587,
auth: {
user: email,
pass: pass
},
secure:true
};
Google has blocked port 587 at the instance level, so you won't be able to send any email using that port. For more on information, visit Sending Email from an Instance which says:
Google Compute Engine does not allow outbound connections on ports 25, 465, and 587. By default, these outbound SMTP ports are blocked because of the large amount of abuse these ports are susceptible to. In addition, having a trusted third-party provider such as SendGrid, Mailgun, or Mailjet relieves Compute Engine and you from maintaining IP reputation with your receivers.
However, there is a step by step guide for setiing up called Sending Email with SendGrid which you can follow.
I am going to send email by using the ssmtp in 1and1 cloud server. Sending email is not working in 1and1 cloud server but it is working in windows which is my localhost and linux server which is my VMWare. Who can help me? Please anyone suggest me a solution.
root=XXXXXX#outlook.com
mailhub=smtp.live.com:587
hostname=localhost.localdomain
AuthUser=XXXXXX
AuthPass=**********
UseSTARTTLS=yes
FromLineOverride=yes
How can I send an email using 1and1 cloud server?
Current error is as follows:
ssmtp: Authorization failed (535 5.7.3 Authentication unsuccessful [DM5PR03CA0053.namprd03.prod.outlook.com])
This is my 1and1 cloud server screenshot. https://i.stack.imgur.com/rjUvS.png
You can use sendgrid service to send email in 1and1 cloud server.
Please check this url:
https://sendgrid.com/docs/API_Reference/SMTP_API/getting_started_smtp.html
After that you can use express-mailer to send email as below:
mailer.extend(app, {
from: 'Name<your email address>',
host: 'smtp.sendgrid.net', // hostname
secureConnection: false, // use SSL
port: 587, // port for secure SMTP
transportMethod: 'SMTP', // default is SMTP. Accepts anything that nodemailer accepts
auth: {
user: 'sendgrid ID',
pass: 'sendgrid password'
}
});
Thanks. Anytime you can use this.
My Kaaproject Cloud service deployed over MS Azure is unable to send any email request, which is shunning me from creating tenants.
My Outgoing SMTP mail server details are:
From Address: admin#kaaproject.org
SMTP Protocol: SMTP
SMTP Host:
SMTP Port: 25
SMTP Timeout: 10000
Username: New Username
Password: New Password
Whenever I try to create a user under Tenant, it provides me with this error:
Unexpected service error occurred: Failed to send email with temporary password. Please, check outgoing email settings. See server logs for details.
Check your outgoing mail settings. Also, investigate Kaa server logs for more details. See troubleshooting guide.
I use nodemailer to send email to my users, previously I used gmail and it work just fine, but now, Im my custom email which provided by gmail
admin#example.io
Heres the code
var transporter = nodemailer.createTransport(smtpTransport({
host : 'smtp.gmail.com',
secureConnection : true,
auth : {
user: 'admin#example.io',
pass: 'pass'
}
}));
Since my custom account is from gmail, I expect the host to be stmp.gmail.com, but it shows this error
{ [Error: Invalid login:]}
Im not sure what is the problem over here.
GoogleApps use the same smtp server.
Make sure your google apps administrator doesn't block SMTP relay service.
https://support.google.com/a/answer/2956491?hl=en