Using Gmail to send emails

read this topic for solution

and also this thread… for details