Skip to content

Commit

Permalink
Update, Message Body missing in Mail
Browse files Browse the repository at this point in the history
Fixed:  message.Body = SmtpBody.Text; it was missing and every Mail Body was empty.
  • Loading branch information
yannik995 committed May 3, 2017
1 parent f2fd60c commit cb42f5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpaqueMail.TestClient/Form1.cs
Expand Up @@ -650,6 +650,8 @@ private async void SmtpSendButton_Click(object sender, EventArgs e)

message.Subject = SmtpSubject.Text;

message.Body = SmtpBody.Text;

// Process attachments.
string[] attachmentLines = SmtpAttachments.Text.Replace("\r", "").Split('\n');
foreach (string attachmentLine in attachmentLines)
Expand Down

0 comments on commit cb42f5f

Please sign in to comment.