Computer Learning Zone CLZ Access Excel Word Windows

All the world is a laboratory to the inquiring mind.

-Martin Fisher
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Microsoft Access Email Seminar    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Problem setting up Gmail
Michel Paul 
      
5 years ago
I have been following the seminar and did the exercice along with the lessons.

In lesson 12, I have setup the Gmail SMTP configuration as explained on the video, except when I try to send the e-mail I get an error "The transport failed to connect to the server"

When I hit the Debug button, it highlights the "Msg.Send" part of the code. The error message doesn't mean anything to me.

I have checked my G-mail configuration and the double verification is turned off.

Can you help?
Richard Rost  @Reply  
          
5 years ago
You have to make sure two-factor authentication is off. Make sure your ports are correct. There's not much more I can tell you. As long as you followed the steps from the seminar exactly, it should work. Is your password correct? Check all of your spelling. Without seeing your database, it's impossible for me to tell what's wrong. Does the sample database work?
Michel Paul OP  @Reply  
      
5 years ago

Michel Paul OP  @Reply  
      
5 years ago

Michel Paul OP  @Reply  
      
5 years ago

Michel Paul OP  @Reply  
      
5 years ago

Michel Paul OP  @Reply  
      
5 years ago

Michel Paul OP  @Reply  
      
5 years ago
Hi,

Thanks for your time.

I have uploaded screen capture of the problem and also captures from the VB editor.

I have verified my Gmail account and confirmed the two-factor authentication is off.

I also verified my user and password for Gmail by adding the account to Outlook without any problems.

I believe that I have followed the instruction correctly.

Hope you can find the issue or I will have to use the outlook methods, because these seem to work.
Scott Axton  @Reply  
        
5 years ago
Michel -
Have not tried this but you may need to turn on the Allow less secure Apps.
Its on the account management page under the security tab.
Scott Axton  @Reply  
        
5 years ago

Richard Rost  @Reply  
          
5 years ago
This is new. It was added after I recorded the Seminar. I never had to do it, but from what I see online some people say this fixes problems: Display Unlock Captcha.
Richard Rost  @Reply  
          
5 years ago
You could also try using port 587
Richard Rost  @Reply  
          
5 years ago
You could also be timing out. Try setting a longer timeout duration:

smtpconnectiontimeout = 30
Richard Rost  @Reply  
          
5 years ago
This could also be a FIREWALL problem. If you have a firewall on your network (hardware or software) you may need to open up the port you're using.
Michel Paul OP  @Reply  
      
5 years ago
Hi everyone that responded.

Sorry for the delay in responding.

Finally Scott solution about  turning on the Allow less secure Apps in the Gmail account, seem to have done the trick.
I don't receive errors anymore and the e-mail go through fine

Thanks Scott and everyone else that have responded.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Microsoft Access Email Seminar.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 6/16/2026 6:51:16 PM. PLT: 0s