Rank: Newbie
Groups: Registered
Joined: 10/22/2024(UTC)
Posts: 1
Location: West-Brabant
I was always using the access vba cdo.message
I am orientating on purchasing the EmailArchitect ActiveX
I installed the trail today and made the reference.
I am using a outlook.com account, with a app password setup and also filled here. Tested all kind of ports and also the osmtp.connectType tryed= 0-4. Different servers smtp.office365.com etc But getting the error :
Quote: Failed to send email with the following error: Error with user authentication; Server says: 535 5.7.139 Authentication unsuccessful, basic authentication is disabled. [AM0PR08CA0007.eurprd08.prod.outlook.com #timestamp#]
I am using a test button with this code
Quote: Dim oSmtp As New EASendMailObjLib.Mail oSmtp.LicenseCode = "TryIt" oSmtp.LogFileName = "C:\ASP-Faktuur\smtp.txt" ' Set your sender email address oSmtp.FromAddr = "jvksender@outlook.com" 'DLookup("smtpuser", "tblInstellingen") ' Add recipient email address oSmtp.AddRecipientEx "Info@J****g.nl", 0 oSmtp.AddRecipientEx "CC j**k@z****t.nl", 1 ' Set email subject oSmtp.Subject = "Testmail" ' Set email body oSmtp.BodyText = "Testbericht" ' Your SMTP server address oSmtp.ServerAddr = "smtp-mail.outlook.com" ' User and password for ESMTP authentication, if your server doesn't require ' User authentication, please remove the following codes. oSmtp.UserName = "jvk***r@outlook.com" oSmtp.Password = "q******m" ' Set 25 SMTP port oSmtp.ServerPort = 587 oSmtp.ConnectType = 1 'ConnectSSLAuto ' Enable TLS connection MsgBox "start to send email ..." If oSmtp.SendMail() = 0 Then MsgBox "email was sent successfully!" Else MsgBox "failed to send email with the following error:" & oSmtp.GetLastErrDescription() End If
What am I doing wrong ? Could someone point me to the right direction ? Can't find anything in the documentation about basic authentication
Edited by user Tuesday, October 22, 2024 12:46:30 PM(UTC)
| Reason: Updated and typo's
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.