error during smtp setting in ACS titanium - smtp

I'm trying to save my smtp setting as;
**username:_________#gmail.com
password:gmail accout paswrd
TSL: true
smtp address: smtp.gmail.com
Port: 587
Domain:gmail.com
Authentication:login
set default sender: false
test mode: false**
But it shows me following error;
""smtp check failed getaddrinfo:Name or service not known""

Have you checked Sending Email Through Appcelerator Cloud API?
Try the following in your SMTP settings
Username: ________#gmail.com
Password: gmail account password
TLS: true/ false (both will work)
SMTP Address: smtp.gmail.com
Port: 587
Domain : www.gmail.com
Note that Domain should be www.gmail.com

the best way to setup SMTP with gmail will be the following
GO to https://myaccount.google.com/u/2/security
Turn on
a. Less secure app access.
b. 2FA authentication.
Then generate an app password in signing in to google. the guide is here https://support.google.com/accounts/answer/185833?hl=en. Make sure to use the same name of the app in there as you created the name for mobile backend data service app in ACS dashboard.
After that in the Appcelerator cloud dashboard, use the below info
Username: the email address
Password: the 16 digit app password you got from google.
Smtp address: smtp.gmail.com
Domain: gmail.com / www.gmail.com either works.
Port:587
Authentication: Plain
Default sender email: same as username / or any other
Test mode: Disabled
TLS: Enabled
Thanks.

Related

Odoo12: Setup SMPT Server with Sendinblue in Odoo. What I missed here?

I am trying to setup Sendinblue and use it as an SMTP server for my marketing and general Odoo 12 email messaging.
I setup every thing in Sendinblue and tested the SMTP Server in Odoo and got a "sucess" message under Settings / Technical / Outgoing Mail Servers.
For this I setup an external smpt server with the following data:
SMTP Server: smtp-relay.sendinblue.com
Email: my sendinblue email
Password: Password provided by sendinblue
Port: 587
Security: TLS (STARTTLS)
I can test the connection with success and set this SMTP Server as the server for sending email campaigns from Email Marketing / Settings / General Settings
Created a test email campaign and tried to send it and test it with no luck.
When Odoo tries to send the message, returns a "not delivered email" message with a unique reference and my local PC name, something like:
989345297097442.1625436965.401543280300903-openerp-reply_to#MYPC-NAME
I confirm sender email is registered and validated in Sendinblue. Using the same email as sender in Odoo.
Tried to do the same with my personal gmail account but even activating less secure apps, no message is sent from my instance.
What could be wrong?
I found the problem.
I had to verify the domain name I use for sending emails from Sendinblue service.
I have done it Senders & API main menu option on "domain" tab.
After verifying my domain name, everything is running fine

Prestashop SMTP Connection could not be established with host

I am having a problem configuring Prestashop SMTP.
I am trying to use gmail client.
SMTP server: smtp.gmail.com
Username: xxxxxxxx#gmail.com
Password: password_of_gmail
SSL
465
Error:
Connection could not be established with host smtp.gmail.com [Cannot assign requested address #99]
Gmail has turn off 2 step vertification, POP3 enabled, and Allow less secure apps enabled too.
Maybe your server doesn't allow external SMTP access.
For example 1and1 shared hosting doesn't allow that https://github.com/PHPMailer/PHPMailer/issues/816

OpenCart emails not sending

My OpenCart website uses SendGrid as its email sending system. This all worked correctly up until recently. When using functions which require sending an email to the admin (eg. new order alert emails, creating a new account), I've been getting this error:
Notice: Error: Password not accepted from server! in .../system/library/mail.php on line 251
In OpenCart Settings > Mail, my settings are as follows:
Mail Protocol: SMTP
SMTP Host: smtp.sendgrid.net
SMTP Username: <username>
SMTP Password: <pass>
SMTP Port: 25
SMTP Timeout: 5
This is according to SendGrid's documentation: https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/smtp_ports.html
Can anyone advise? These settings work on my localhost. I contacted the host to see if they blocked the SMTP port, but they replied that they don't have the ability to block the port since the SMTP host is not their website, but instead SendGrid.
This is not a port problem. I had the same issue: the SendGrid documentation is wrong. Documentation screenshot reports SendGrid username, but you have to use 'apikey'. I suggest to use port 587.

How to use Gmail as your SMTP server for Youtrack?

Youtrack allow to send email through 3rd party SMTP server. Fields are as follows:
SMTP host: [?]
SMTP port: [?]
Mail protocol: [?]
SMTP login: [?]
SMTP password: [?]
Select SSL key: [?]
Server 'from' email: [?]
Could you provide an example of Gmail or Google apps config ?
Here is what I finally did:
SMTP host: smtp.gmail.com ;
SMTP port: 465 ;
Mail protocol: SMTP+SSL ;
SMTP login: user#domain.com or user#gmail.com ;
SMTP password: ****** ;
Select SSL key: No key ;
Server 'from' email: user#domain.com.
Gmail will ignore the from parameter so I put the same.
References
Enable IMAP in your Gmail settings (Gmail doc) ;
How to use Gmail as your SMTP server.
I was using 2-Step Verification on my Gmail Account and this caused an error sending an email. To resolve first I created an App Password (see: https://support.google.com/accounts/answer/185833)
NOTE: to be able to create an App Password it's absolutely necessary to enable 2-Step Verification in your google account. If you don't do it, you'll receive a message indicating that your account doesn't support App Passwords.
Then using these settings I was able to send a test email:
SMTP host: smtp.gmail.com
SMTP port: 465 ;
Mail protocol: SMTP+SSL
SMTP login: user#gmail.com
SMTP password: #newly created app password# ;
Select SSL key: No key ;
Server 'from' email: user#domain.com.
The other two answers are correct, but are alternatives:
if your google account is configured to use 2-step verification you must use an AppPaswword. In this case you cannot enable less secure apps.
if your google account is not configured to use 2-step verification, you must enable less secure apps, and log to your account from a browser in the machine where youtrack is installed (as pointed out in the comment). In this case you cannot create App Passwords.
Additional notes:
as you can see, the youtrack configuration is the same in both cases, save for the password, which is the AppPassword if you use the first option, or the account password, if you use the second one.
in the from email, the email account is ignored, but you can specify a friendly name if you use this syntax: "Friendly Name <myacount#gmail.com>" When someone receives a notification he'll see From: Friendly Name. The account, whichever you specify, will be replaced by the google account you're configuring.
Minor addition to other answers.
My account have no 2-step verification, but with this solution I didn't have to log in from browser on YouTrack server machine, neither didn't have to enable less secure apps.
Config:
SMTP Host: smtp.gmail.com
SMTP Port: 587
Mail Protocol: SMTP+TLS
SMTP Login: user#gmail.com
SMTP Password: ****** (account password)
Select SSL key: (Nothing selected)
From address: YouTrack <user#domain.com>
Next:
Try to send test email (the button right below youtrack config).
It will fail.
Now just login into google account from your regular browser.
You'll get a warning about recent blocked login attempt.
Open warning and verify the login attempt from IP of your youtrack server.
Done. Now you should be able to send test email successfully.

couchbase email-alert setup using smtp.gmail.com

Any one has succeeded setting up Email- Alerts from Couchbase admin for gmail account?
I am having membase cluster installed on EC2. I tried with port 465 or 587 or 25 no success.
The logs shown in UI is not very informative. Can somebody even point me out where to find the detailed log of this alert setup failure?
Thanks in Advance.
I too was having issues getting the email notifications working in Couchbase with a gmail account. Actually it was a Google Apps account, free edition.
After lots of head scratching the issue turned out to be related to two step authentication. The account I was trying to get it working with had two step authentication enabled.
I tried it with an account that didn't have it enabled and it worked first time.
The settings I used were:
Host: smtp.gmail.com
Port: 587
Username: Full GApps Email Address
Password: GApps Account Password
Use TLS: Checked
Sender email: Same as Username
Recipients: Any email address
Cheers, Lee
The alerting system has been extended in Couchbase 2.0, leaving a link to the docs here for anyone who might find this question:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-web-console-settings-alerts.html