• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mail - SMTP Add authentication
#13
Hi Marco,

Hmm, I wonder are you attaching a file or something else? I've just tried on my side with an SMTP account and it didn't lock it, even after a second run.

Below is how I handle the file lock by the way:

                    emailClient.Send(message);

                    foreach (Attachment attachment in message.Attachments)
                    {
                        attachment.Dispose();
                    }
  Reply


Messages In This Thread
Mail - SMTP Add authentication - by tambmar - 02-07-2020, 11:14 AM
RE: Mail - SMTP Add authentication - by tambmar - 02-12-2020, 07:01 AM
RE: Mail - SMTP Add authentication - by tambmar - 03-02-2020, 06:30 AM
RE: Mail - SMTP Add authentication - by tambmar - 04-21-2020, 06:42 AM
RE: Mail - SMTP Add authentication - by tambmar - 04-21-2020, 07:10 AM
RE: Mail - SMTP Add authentication - by tambmar - 04-22-2020, 07:03 AM
RE: Mail - SMTP Add authentication - by tambmar - 04-22-2020, 07:05 AM
RE: Mail - SMTP Add authentication - by RoboIntern - 04-22-2020, 09:04 AM
RE: Mail - SMTP Add authentication - by tambmar - 04-23-2020, 07:31 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)