GMail smtp is a secured one and would require the right username and password to send the email.