VTDelphi
asked on
Delphi 7 Indy 10 SASL authentication Exchange 2010
smtpServer := TidSMTP.Create(nil);
mailMessage := TidMessage.Create(nil);
// 3-17-2010 Indy 10.2.3 redefined auth. props.;
smtpServer.AuthType := satSASL;
smtpServer.UseEhlo := True;
smtpServer.Port := strtoint(smtpPort) ;//25;
smtpServer.Host := smtpHost; // Exchange server IP address;;
smtpServer.Username := smtpUser;
smtpServer.Password := smtpPwd ;
This is the code I have found but no one will show how to setup the code for encryption interface - Exchange 2010 requires encrypted connection. NO SMTP plugin;
latest version to compile/install is Indy 10.2.3.
I need some coding help, please.
mailMessage := TidMessage.Create(nil);
// 3-17-2010 Indy 10.2.3 redefined auth. props.;
smtpServer.AuthType := satSASL;
smtpServer.UseEhlo := True;
smtpServer.Port := strtoint(smtpPort) ;//25;
smtpServer.Host := smtpHost; // Exchange server IP address;;
smtpServer.Username := smtpUser;
smtpServer.Password := smtpPwd ;
This is the code I have found but no one will show how to setup the code for encryption interface - Exchange 2010 requires encrypted connection. NO SMTP plugin;
latest version to compile/install is Indy 10.2.3.
I need some coding help, please.
ASKER
Sorry so long to respond. We are deploying an Exchange server.
I did find an example of what I think may work:
http://ruminatedrumblings.blogspot.com/2008/04/smtp-mail-and-indy-again.html
I haven't completed testing - it requires OpenSSL.
We can retire this question if you like and I'll let you all know if this person's code solves my issue.
Thank you for your time,
Larry
I did find an example of what I think may work:
http://ruminatedrumblings.blogspot.com/2008/04/smtp-mail-and-indy-again.html
I haven't completed testing - it requires OpenSSL.
We can retire this question if you like and I'll let you all know if this person's code solves my issue.
Thank you for your time,
Larry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/20976050/Using-RPC-in-Delphi.html
Once you have the MS RPC connection working the rest should be easy enough to handle with the INDY 10 SASL components.
While I hope this can get you started in the right direction I have no server to test against so I cannot write code that I have the ability to test.
I hope this helps.