newbie alert …
I can use Smack to login to talk.google.com using my gmail account; but I can’'t see how to login to a Google Apps For Your Domain account.
So this works:
String serviceName = “gmail.com”;
String host = “talk.google.com”;
String port = “5222”;
XMPPConnection connection = new XMPPConnection(config);
But, I have “mydomain.com” at Google, and various user accounts on that domain. They are able to chat with one another using Google Talk. Now I’‘m trying to write a client that sends them IMs, so I created a user account for my sending program, "firstname.lastname@example.org". I can’'t figure out what to set the service name, host, username to … all my experiments have failed login.
I’'ve tried combinations of
serviceName = “gmail.com”
serviceName = “mydomain.com”
serviceName = "email@example.com"
connection.login("firstname.lastname@example.org", SN1_PASSWD); connection.login("email@example.com@gmail.com", SN1_PASSSWD);
So, is there an example of logging into/sending to a Google-hosted domain?
Thanks for any help,