I am in Lesson 10 trying to send email via SMTP using gmail. I click "Send via SMTP" in EmailVia SMTPF. I changed the "TO" in vba to my address. When I open EmailViaSMTPF it shows [email protected]. I replace your address with mine and click Send via SMTP. No email is sent from my gmail account. I get the following messages. see attachments. What do I do?
I set up a Gmail App Password a few months ago. I have entered the App Password in the vba along with my gmail user name [email protected]. Still gt error message "the transport failed to connect to the server. Help.
Larry FisackerlyOP
@Reply 9 months ago
I am trying without success to generate a new Google App Password. I get into Security, turn 2FA on, click again on 2FA, but do not see the option to create a App Password. Google has changed since the videos were made. I was hoping a new App password would solve the problem, but I can't accomplish that.
Larry FisackerlyOP
@Reply 9 months ago
Kevin Robertson
@Reply 9 months ago
The option to set an App Password is well hidden now (don't know why). Use the Search Box to find it.
Kevin, you are correct. I did stumble upon the place to create App Password. I added it to Access, but no success. I continue to get the error in vba editor "Msg.Send"
Larry FisackerlyOP
@Reply 9 months ago
I found this when searching for a solution as to why I can not use gmail SMTP server with Access: "Starting on September 30, 2024, less secure apps, third-party apps, or devices that have you sign in with only your username and password will no longer be supported for Google Workspace accounts. For exact dates, visit Google Workspace Updates. To continue to use a specific app with your Google Account, you'll need to use a more secure type of access that doesn't share password data." I do not have a google workspace account. I have a personal gmail account. Does this mean Access email seminar technique to send mass email without using Outlook will no longer work with a personal gmail account?
https://support.google.com/accounts/answer/6010255?hl=en
Larry FisackerlyOP
@Reply 9 months ago
I can't get past Lesson 10 12:30. When I click Send via SMTP is get errors. I change vba to use my Godaddy exchange email smtp.office365.com and the password (I could not get gmail to work). I get the run time error StartTLS is required to send mail. How to do I do that. What am I missing?
Larry FisackerlyOP
@Reply 9 months ago
Kevin Yip
@Reply 9 months ago
I just tried Richard's code for using CDO for Gmail and it worked. Make sure all your CDO configuration settings are exactly as what he uses:
I have tried both my Microsoft Exchange account through GoDaddy a well as gmail. I get the same error. Please help.
Larry FisackerlyOP
@Reply 9 months ago
Kevin Yip
@Reply 9 months ago
Try it with a different Gmail account (or create a dummy account to try, since it's free). This is to eliminate the possibility of something being wrong in your current Gmail account.
Larry FisackerlyOP
@Reply 9 months ago
Will I need a new Gmail App password?
Kevin Robertson
@Reply 9 months ago
Yes, for a different email address.
Larry FisackerlyOP
@Reply 9 months ago
I got it to work thanks to everyone's help.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Email Seminar Lessons.
The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.