smtp

  1. C

    Question Errors when sending SMTP attachments from a DataGridView

    I have created an SMTP program that sends messages with optional multiple attachments. The attachments are listed in a DataGridView. Here is the code below: private void button1_Click(object sender, EventArgs e) { try { MailMessage message =...
  2. C

    Google sign-in blocked my email sending feature!

    I created an email sending form for my company project. Here is my code below: private void button1_Click(object sender, EventArgs e) { try { MailMessage message = new MailMessage(); SmtpClient smtp = new SmtpClient()...
Back
Top Bottom