Trying to send a newsletter with an attachment but I get this error. It works fine without the attachment. It had about 25 users.
InnerException: Failure sending mail.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.Mime.MimePart.ResetStream
StackTrace:
Message: System.Net.Mail.SmtpException: Failure sending mail. ---> System.InvalidOperationException: One of the streams has already been used and can't be reset to the origin. at System.Net.Mime.MimePart.ResetStream() at System.Net.Mail.Attachment.PrepareForSending() at System.Net.Mail.MailMessage.SetContent() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, List`1 Attachments, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
Source:
Server Name: WINDOWS1