Contact.Form with gmail

Topics: Developer Forum, User Forum
Aug 17, 2009 at 3:19 PM
Edited Aug 20, 2009 at 8:40 PM

I'm not a e-mail guru at all! ... thanks for your help!

Consider this thread closed! After learning about smtp server - the way I wanted to (mis) use gmail is not possible! It all works fine with my ISP's smtp!
Thanks in case you spent time, ed

I have kind of a luxurious problem: all works fine when I use the contact form using my own ISP (Inet addresse, smtp, domain etc). However, when I like to use my gmail it fails as follows:

My own gmail address is: abc.xyz@gmail.com 
PS: Otherwise gmail works fine

The WebSite.config, for gmail, is set as follows:

<WebSiteData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
  <SmtpServer>smtp.gmail.com</SmtpServer>
  <SmtpUser>abc.xyz</SmtpUser>
  <SmtpPassword>myPW</SmtpPassword>
  <SmtpDomain>gmail.com</SmtpDomain> 
  <MailSenderAddress>abc.xyz@gmail.com</MailSenderAddress>

</WebSiteData>

This leads to following error msg in "ContactForm.asx.cs":

"The SMTP server requires a secure connection or the client was not authenticated.
 The server response was: 5.7.0 Must issue a STARTTLS command first. 28sm922708eye.34"

What do I need to do to get MWPSK 1.2.2 to work with gmail!?
thanks for any hints
ed