mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Fixed bug for feature request #3542622, wrong logic.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1958 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
5004e72877
commit
c491f15423
1 changed files with 3 additions and 3 deletions
|
@ -291,13 +291,13 @@ namespace Greenshot.Interop.Office {
|
|||
//MailItem newMail = COMWrapper.Cast<MailItem>(newItem);
|
||||
MailItem newMail = (MailItem)newItem;
|
||||
newMail.Subject = subject;
|
||||
if (string.IsNullOrEmpty(to)) {
|
||||
if (!string.IsNullOrEmpty(to)) {
|
||||
newMail.To = to;
|
||||
}
|
||||
if (string.IsNullOrEmpty(CC)) {
|
||||
if (!string.IsNullOrEmpty(CC)) {
|
||||
newMail.CC = CC;
|
||||
}
|
||||
if (string.IsNullOrEmpty(BCC)) {
|
||||
if (!string.IsNullOrEmpty(BCC)) {
|
||||
newMail.BCC = BCC;
|
||||
}
|
||||
newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue