I am using chronoforms to set forms on my site. After submission I want to send that information to the administrator of the site by sending mail notifications. But when the client submits the info the following error is displayed:
The following from address failed admin#admin.com
I have set SMTP settings on my joomla site using gmail SMTP settings as follows:
mailer: SMTP
from email: mygmail#gmail.com
sendmailpath: /usr/sbin/sendmail
smtpsecurity: ssl
port: 465
user: mygmail#gmail.com
pass: ***********
host: smtp.gmail.com
I have found the Acymailing component and modify to work with SMTP. What else could I do?
Set the From Email address to the address you have in the site SMTP settings, make sure that the To Email address for the admin is a different one as some mail servers - GMail in particular - will drop emails when the From and To addresses are the same.
Related
Has anyone been able to route outgoing mail through Google using another non-Gmail SMTP service?
I currently have a website running with Bitnami vm running a CanvasLMS application on a Google Cloud Platform server.
When entering my GSuite Gmail Advanced Settings, the required steps have been done to configure the SMTP relay service. (TLS set to true)
https://support.google.com/a/answer/2956491?hl=en&authuser=3&ref_topic=2921034
I have also configured the setup for the outgoing email server at /apps/canvaslms/htdocs/config/outgoing_mail.yml (replacing username and password with my application's credentials)
production:
enable_starttls_auto: true
address: smtp-relay.gmail.com
port: 587
user_name: USERNAME#gmail.com
password: PASSWORD
authentication: plain # plain, login, or cram_md5
domain: smtp-relay.gmail.com
outgoing_address: USERNAME#gmail.com
default_name: CANVAS LMS
Saved the changes and restarted the server. When trying to send an email in Canvas for new user registration, it never reaches the receivers email inbox.
I have reviewed my application logs and have not discovered any errors related to this
Any thoughts on troubleshooting this SMTP issue???
https://docs.bitnami.com/installer/apps/canvaslms/configuration/configure-smtp/
https://community.canvaslms.com/t5/Question-Forum/emails-are-not-sent-to-users-students/m-p/230561#M128347
I'm trying to Configure on Joomla the SMTP Mail Option. But try to connect via, smtp.gmail.com port 465 / smtp-relay.gmail.com port 587 with and without authentication, and with no luck.
The error I receive is a Timeout Connection error.
The Bluehost server is pointing all the Emails to G Suite.
When contacting Bluehost, they say that Google is the problem, when contacting Google they say is Bluehost that have the problem.
Try the following configuration to send an email via Gmail SMTP
From Nmae - Your site email
Mailer - SMTP
SMTP Host - smtp.gmail.com
SMTP Port - 465
SMTP Security - SSL/TLS
SMTP Authentication - Yes
If you have enabled the 2 factor authentication for your profile then you need to follow more steps as mentioned here
I'm using Symfony and I'm trying to send an email with swiftmailer. I have an account set up with google app (produccion#mydomain.com) and when I try to send shows me the following error:
Failed to authenticate on SMTP server with username
"produccion#mydomain.com" using 2 possible authenticators
I tried it with my personal gmail account and send the message correctly with the same settings. Just change the username and password.
# Swiftmailer Configuration
swiftmailer:
transport: smtp
host: smtp.gmail.com
username: produccion#mydomain.com #email#gmail.com
password: google_app_password #gmail_password
auth_mode: login
port: 587
encryption: tls
I've been searching the internet and I've found this page from Google, where I can change the access to less secure applications.
https://www.google.com/settings/security/lesssecureapps
In my gmail account this option is active, but if I turn shows me the same error when sending email.
I've been trying to change this setting in google app account but it tells me that this option is not available for google app.
Any idea to send emails from this account by google app? I have to set something else?
EDIT
It seems Gmail prefers OAuth, Swiftmailer supports this authentication mech but its not really documented.
https://developers.google.com/gmail/xoauth2_protocol
https://github.com/swiftmailer/swiftmailer/blob/5.x/lib/classes/Swift/Transport/Esmtp/Auth/XOAuth2Authenticator.php
Any idea how I use it in Symfony?
Have you tried setting the transport parameter to gmail as mentioned in the cookbook? http://symfony.com/doc/current/cookbook/email/gmail.html
# Swiftmailer Configuration
swiftmailer:
transport: gmail
username: your_gmail_username
password: your_gmail_password
I could'n send email notification from sonarqube even after configuring the email server, from Settings > General Settings > General > Email
I tried following : this suggestion but I got the same message error : Sending the email to the following server failed : smtp.gmail.com:587
Have I to set up something out of SonarQube ?
To send email through GMail SMTP server, you should use the following configuration:
SMTP Host: smtp.gmail.com
SMTP Port: 465
Use secure connection: SSL/TLS
Obviously, you have to specify your username ("foo.bar#gmail.com") and a password (generated in your GMail security settings).
From your SonarQube instance go to:
Settings > General Settings > General > Email
Set:
SMTP Host: smtp.gmail.com
SMTP Port: 587
Use secure connection: SSL/TLS
Fill in your smtp.username and smtp.password by generating an app password in gmail. This link might work.
I want to send email in Drupal 7. So, does anyone know how to configure Gmail SMTP on Drupal 7?
Download SMTP module and enable it.
Go to Admin > Configuration > SMTP authentication support and set the following values:
Turn on the module at the Install options fieldset at the top.
SMTP server settings:
smtp server: smtp.gmail.com
smtp backup server: leave blank.
smtp port: 465
use encrypted protocol: select "use SSL"
SMTP authentication:
Enter a valid Gmail email address and password.
Email options:
Set the same email address that you used at SMTP Authentication. Using a different account is called Phishing
Send test email: set an email to receive a sample email.
Enable debugging: yes.
3. Click on submit and verify that the email was submitted and that you received it. If not, read carefully the debug information at the top of the screen. Once satisfied, remember to deactivate the debug checkbox.
Step 1: Download SMTP module and enable it.
Step 2: Go to Admin > Configuration > System > SMTP authentication support and set the following values:
Turn this module on or off: On.
SMTP server settings:
smtp server: smtp.gmail.com
smtp backup server: leave blank.
smtp port: 465
use encrypted protocol: select "use SSL"
SMTP authentication:
Enter a valid Gmail email address and password.
Email options:
Set the same email address that you used at SMTP Authentication.
Send test email: set an email to receive a sample email and to test whether the module is working.
Enable debugging: yes.
Step 2a(Optional): Allow Less Secure Apps Access which is here: http://www.google.com/settings/security/lesssecureapps
Step 3: Click on Save and go to your inbox to check. If there is an testing email then it is fine.
Note: Your email address provided in your smpt setting MUST be the same like in your site information.
I hope SMTP Authentication Support module will help you.
For me, just following the steps in Juampy's answer didn't work. The error "Unable to send mail. Contact site administrator." continued to display. Do the following first and then configure SMTP module as per his answer.
Before installing SMTP module, download PHPMailer and extract it. Rename the folder as 'phpmailer' and copy the folder into module folder of SMTP module. Then, install the SMTP module.
An alternative configuration is as follows:
smtp port: 587
use encrypted protocol: select "use TLS"
This blog entry has some more up-to-date info:
http://www.stevepolitodesign.com/blog/drupal-configure-smtp-module-work-gmail-updated
Install and set-up module:
Install the SMTP Authentication Support module in the usual way.
Navigate to the configuration page admin/config/system/smtp
Under Turn this module on or off select On. You can leave Send mail
by queue and Retry sending mail on error. deselected by default, but
selecting them won't affect Gmail.
Under SMTP server enter the following smtp.gmail.com. Leave SMTP
backup server blank
Under SMTP port enter 587
Under Use encrypted protocol select Use TLS
Under SMTP AUTHENTICATION enter a Gmail address and password.
Under E-MAIL OPTIONS use the same Gmail address as you did above and
enter an E-mail from name
Click Save
Update gmail account settings:
Login to your Gmail account at https://myaccount.google.com/
On the account homepage, click Sign-in & security or navigate to https://myaccount.google.com/security
Scroll down to the Allow less secure apps: widget, and have it enabled.
Now navigate to https://accounts.google.com/DisplayUnlockCaptcha and click Continue
Go back to the SMTP configuration page admin/config/system/smtp
Enter an email address you would like to receive a test message from and click Save configuration
Check your inbox to confirm you received the test message.