diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-01-28 21:19:28 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-01-28 21:19:28 +0200 |
| commit | 45b3935bc10b5ab107c34b2f9e2af0a707cb3f3c (patch) | |
| tree | ed5f1ae9476af38d014f15f6df6ca6ee947c2df8 /Software/Visual_Studio/Tango.TFS | |
| parent | cf058736830f5267ae84b323fdc6c1f9fabd0ea4 (diff) | |
| download | Tango-45b3935bc10b5ab107c34b2f9e2af0a707cb3f3c.tar.gz Tango-45b3935bc10b5ab107c34b2f9e2af0a707cb3f3c.zip | |
PPC v2.3.4
Diffstat (limited to 'Software/Visual_Studio/Tango.TFS')
| -rw-r--r-- | Software/Visual_Studio/Tango.TFS/Email.cs | 5 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.TFS/TeamFoundationEmailClient.cs | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.TFS/Email.cs b/Software/Visual_Studio/Tango.TFS/Email.cs index 8e87a5f02..547218161 100644 --- a/Software/Visual_Studio/Tango.TFS/Email.cs +++ b/Software/Visual_Studio/Tango.TFS/Email.cs @@ -22,6 +22,11 @@ namespace Tango.TFS public String Body { get; set; } /// <summary> + /// Gets or sets whether the body is HTML text. + /// </summary> + public bool IsBodyHTML { get; set; } + + /// <summary> /// Gets or sets the sender member. /// </summary> public TeamMember From { get; set; } diff --git a/Software/Visual_Studio/Tango.TFS/TeamFoundationEmailClient.cs b/Software/Visual_Studio/Tango.TFS/TeamFoundationEmailClient.cs index ac77cf470..dfd357a24 100644 --- a/Software/Visual_Studio/Tango.TFS/TeamFoundationEmailClient.cs +++ b/Software/Visual_Studio/Tango.TFS/TeamFoundationEmailClient.cs @@ -93,6 +93,8 @@ namespace Tango.TFS mail.Subject = email.Subject; mail.Body = email.Body; + mail.IsBodyHtml = email.IsBodyHTML; + //mail.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess; client.Send(mail); }); } |
