mailsmtp_auth_sasl instead of mailsmtp_auth

Matt Ronge <mronge-ePFkAnfr6dRWk0Htik3J/[email protected]> Mon, 19 Jun 2006 23:17:43 -0700
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi,

I've been using mailsmtp_auth but I've recently run into a problem where 
   it wasn't working on a gmail SMTP server. After taking a look at 
mailsmtp.h I noticed that mailsmtp_auth is now deprecated.

Here's the new function:
int mailesmtp_auth_sasl(mailsmtp * session, const char * auth_type,
     const char * server_fqdn,
     const char * local_ip_port,
     const char * remote_ip_port,
     const char * login, const char * auth_name,
     const char * password, const char * realm);

However, I'm not sure how to get started with it. Is there any 
documentation for this? What are the available auth_type's? What is the 
server_fqdn? What about the local port? Auth_name? realm? Does anyone 
have an example of this function in use?

(Please point me to the appropriate RFC if I'm missing something)
Thanks,
--
Matt
-- 
Matt Ronge

AIM: monkeybreadr
http://www.theronge.com