Not Able to send the mail on mailId which have numeric value, Its giving error : No recipients have been specified

1.3k Views Asked by At

Eg. [email protected]

System.InvalidOperationException: No recipients have been specified.

at MailKit.Net.Smtp.SmtpClient.Send(FormatOptions options, MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)

at MailKit.MailTransport.Send(MimeMessage message, CancellationToken cancellationToken, ITransferProgress progress)

1

There are 1 best solutions below

2
On

You need at least 1 address to be added to the message's To, Cc or Bcc properties.