Skip to content

Commit 8c552fb

Browse files
Update _index.md
1 parent fe99bf9 commit 8c552fb

File tree

1 file changed

+0
-10
lines changed
  • content/english/net/email-composition-and-creation/loading-email-messages-with-load-options-in-csharp

1 file changed

+0
-10
lines changed

content/english/net/email-composition-and-creation/loading-email-messages-with-load-options-in-csharp/_index.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@ var client = EWSClient.GetEWSClient("https://exchangeserver.com/ews/exchange.asm
7171
var email = client.FetchMessage("messageId");
7272
```
7373

74-
## Loading Password-Protected Emails
75-
76-
If you're dealing with password-protected emails, Aspose.Email for .NET has you covered. You can provide the password while loading the email.
77-
78-
```csharp
79-
// Load password-protected email
80-
loadOptions.Password = "emailPassword";
81-
var email = MailMessage.Load(filePath, loadOptions);
82-
```
83-
8474
## Handling Load Errors
8575

8676
It's essential to handle errors when loading emails. Aspose.Email for .NET provides exceptions that can help you identify and resolve any loading issues.

0 commit comments

Comments
 (0)