* .net shared framework changes * standalone net 5.0 packages * netstanard2.1 diff * improving the directory structure * adding a readme file * aspnetcore shared framework changes * remove wrong process type change diff * adding comments about apis being to inbox from package
17 lines
691 B
Markdown
17 lines
691 B
Markdown
# System.Net.Mail
|
|
|
|
``` diff
|
|
namespace System.Net.Mail {
|
|
public class MailAddress {
|
|
+ public static bool TryCreate(string address, out MailAddress result);
|
|
+ public static bool TryCreate(string address, string displayName, out MailAddress result);
|
|
+ public static bool TryCreate(string address, string displayName, Encoding displayNameEncoding, out MailAddress result);
|
|
}
|
|
public class SmtpClient : IDisposable {
|
|
+ public Task SendMailAsync(MailMessage message, CancellationToken cancellationToken);
|
|
+ public Task SendMailAsync(string from, string recipients, string subject, string body, CancellationToken cancellationToken);
|
|
}
|
|
}
|
|
```
|
|
|