EmailArchitect Support
»
Email Component Development
»
EASendMail SMTP Component - .NET Version
»
Error System.NullReferenceException: 'Object reference not set to an instance of an object.'
Rank: Newbie
Groups: Registered
Joined: 8/19/2021(UTC)
Posts: 0
Location: Palma de Mallorca
Hi, When I exEcute this code in Net Core 5.0, I get the next error : Error System.NullReferenceException: 'Object reference not set to an instance of an object.' using EASendMail; .... .... SmtpMail oMail = new("ES-XXXXXXXXXXXXXXXXXXX"); SmtpClient oSmtp = new(); SmtpServer oServer = new(configCorreo.CSmtp); //servidor de envío oServer.AuthType = SmtpAuthType.AuthAuto; oServer.User = configCorreo.CUserMail; oServer.Password = configCorreo.CPass; oServer.Port = configCorreo.NPuerto; This error is generated at first line "SmtpMail oMail = new("ES-XXXXXXXXXXXXXXXXXXX");" Thanks for any help. Regards Vicens
EmailArchitect Support
»
Email Component Development
»
EASendMail SMTP Component - .NET Version
»
Error System.NullReferenceException: 'Object reference not set to an instance of an object.'
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.