Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
d.termini  
#1 Posted : Friday, September 16, 2022 7:56:16 AM(UTC)
d.termini

Rank: Newbie

Groups: Registered
Joined: 9/16/2022(UTC)
Posts: 0
Italy

Hello, I'm trying to send a mail with Google SMTP using OAuth2 as authentication but I get "Invalid sequence for AUTH XOAUTH2!" as exception.
I'm on trial mode to evaluate the library before purchase.
I followed this guide: https://www.emailarchite...dk/html/object_oauth.htm
The Google OAuth client is correctly configured.

What should I look for?

Thank you
ivan  
#2 Posted : Saturday, September 17, 2022 7:04:14 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,148

Thanks: 9 times
Was thanked: 54 time(s) in 54 post(s)
Hi, thanks for using our software.

It looks that you didn't enable SSL/TLS connection, did you set
oServer.ConnectType = SmtpConnectType.ConnectSSLAuto

After you install EASendMail on your machine, please refer the sample project in

C:\Program Files (x86)\EASendMail\Samples_NetDesktop\C#\Oauth

It is well tested.
Users browsing this topic
Forum Jump  
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.244 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.