Can I send emails without authenticating on the SMTP server?
i am creating simple email sending application. In my application when ever i send email i have to put my email address or password as from but i don't want to use password only want to put email so Can i send Email without using password using c#/.net application ? this is my code: try { // setup mail message MailMessage message = new MailMessage(); message.From = new MailAddress(textBox1.Text); message.To.Add(new MailAddress(textBox2.Text)); message.Subject = textBox3.Text; message.Body = richTextBox1.Text; // setup mail client SmtpClient mailClient = new SmtpClient("smtp.gmail.com");