Hello all,
I just got the Google Business(Free version) account setup yesterday.
I am using .net to send email; which only sends email to gmail.com
( domain )
All other report : Domain Not Available
System.Net.Mail.MailMessage Email = new
System.Net.Mail.MailMessage("[EMAIL PROTECTED]", "[EMAIL PROTECTED]");
Email.Subject = "test subject";
Email.Body = "this is a test";
System.Net.Mail.SmtpClient mailClient = new
System.Net.Mail.SmtpClient();
System.Net.NetworkCredential basicAuthenticationInfo =
new System.Net.NetworkCredential("[EMAIL PROTECTED]", "abcd123");
// Put your own, or your ISPs, mail server name onthis
next line
mailClient.Host = "ASPMX.L.GOOGLE.COM";
mailClient.UseDefaultCredentials = false;
mailClient.Credentials = basicAuthenticationInfo;
mailClient.Send(Email);
Is there anything wrong ?
Thanks for the help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---