I have an issue in my asp.net application. I am using SMTP server credentials to send emails. It includes a hostname smtp.gmail.com, port no=587, username=”somemai...@gmail.com” password=””. I have created a mail message object and set the from and to address to “fr...@gmail.com”,”t...@gmail.com”. I am getting emails, but the from id is always taken as the username ie,somemai...@gmail.com. How it happens? How can I change the email address to fr...@gmail.com?