Skip to content

Commit bbc1504

Browse files
committed
Update README.md
1 parent 4d7497b commit bbc1504

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ var credentials = new NetworkCredential("username", "password");
8686
var transportWeb = new Web(credentials);
8787

8888
// Send the email.
89-
transportWeb.Deliver(myMessage);
89+
transportWeb.DeliverAsync(myMessage);
9090
```
9191

92-
You can also use the **DeliverAsync** method, which returns an awaitable
93-
task.
94-
9592
#How to: Add an Attachment
9693

9794
Attachments can be added to a message by calling the **AddAttachment** method and specifying the name and path of the file you want to attach, or by passing a stream. You can include multiple attachments by calling this method once for each file you wish to attach. The following example demonstrates adding an attachment to a message:

0 commit comments

Comments
 (0)