Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Send Email with CDO    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Send Email Using CDO Problem
Stanley Mc Keown 
     
3 months ago
I'm having a little difficulty understanding Part 2 of the Send Email using CDO Part 2 video.

  I'm getting a " The transport failed to connect to the server" error.

  Would that be something to do with the SERVERPORT ( I'm using 465 )?

Or

SMTPSERVER = "smpt.live.com" for a Hotmail address I'm sending from.

Also why does the from address need to be specified again under the "Send Email" button on the send email form?
Alex Hedley  @Reply  
           
3 months ago
Stanley Mc Keown OP  @Reply  
     
3 months ago
I take it that SMTP server name
smtp-mail.outlook.com
is for my online outlook account and server port 587 is correct.
It also gives
Authentication Method
OAuth2/Modern Auth

And

smtp encryption STARTTLS


The encryption method and authentication method aren't mentioned in the email configuration module in Part 2 video. Should I need that ?
Stanley Mc Keown OP  @Reply  
     
3 months ago
Tried a few different ports and checked passwords etc but still getting "The transport failed to connect to the server " error.

All my variables ie To, From, Subject, Body along with all the configuration settings for my mail object are setting sent into the send email function with no problems each time but the vba stops at
Msg.send

  I'm wondering is it to do with that encryption method for outlook?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Send Email with CDO.
 

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: 4/30/2026 1:56:28 PM. PLT: 0s