email test
This commit is contained in:
parent
fcf48f1cce
commit
43d9394ebb
|
|
@ -210,11 +210,11 @@
|
||||||
[
|
[
|
||||||
"ReceiverEmailAddress",
|
"ReceiverEmailAddress",
|
||||||
"ReceiverFullName",
|
"ReceiverFullName",
|
||||||
"ReceiverId",
|
"ReceiverId",
|
||||||
"SenderEmailAddress",
|
"SenderEmailAddress",
|
||||||
"SenderFullName",
|
"SenderFullName",
|
||||||
"SenderId",
|
"SenderId",
|
||||||
"ContextId",
|
"ContextId",
|
||||||
];
|
];
|
||||||
|
|
||||||
public List<TransferStatusModel> Statuses { get; set; } =
|
public List<TransferStatusModel> Statuses { get; set; } =
|
||||||
|
|
@ -243,6 +243,7 @@
|
||||||
_logger.Info($"Sending mail to {item.ContactEmail}, {item.Id}");
|
_logger.Info($"Sending mail to {item.ContactEmail}, {item.Id}");
|
||||||
|
|
||||||
_messageWizardModel.ContextId = item.Id;
|
_messageWizardModel.ContextId = item.Id;
|
||||||
|
_messageWizardModel.SenderEmailAddress = "info@touriam.com";
|
||||||
_messageWizardModel.ReceiverEmailAddress = item.ContactEmail;
|
_messageWizardModel.ReceiverEmailAddress = item.ContactEmail;
|
||||||
_messageWizardModel.ReceiverFullName = item.FullName;
|
_messageWizardModel.ReceiverFullName = item.FullName;
|
||||||
PopupVisible = true;
|
PopupVisible = true;
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,12 @@ namespace TIAMWebApp.Shared.Application.Models.ClientSide.UI.WizardModels
|
||||||
Subject = obj.Subject,
|
Subject = obj.Subject,
|
||||||
Text = obj.Content,
|
Text = obj.Content,
|
||||||
EmailAddress = obj.SenderEmailAddress,
|
EmailAddress = obj.SenderEmailAddress,
|
||||||
Recipients = new List<EmailRecipient> { new EmailRecipient(
|
Recipients = new List<EmailRecipient> {
|
||||||
Guid.NewGuid(), obj.ReceiverId, id, obj.ReceiverEmailAddress) }
|
new EmailRecipient(
|
||||||
|
Guid.NewGuid(), obj.ReceiverId, id, obj.ReceiverEmailAddress),
|
||||||
|
new EmailRecipient(
|
||||||
|
Guid.NewGuid(), Guid.Parse("4CBAED43-2465-4D99-84F1-C8BC6B7025F7"), id, "wsdservers@gmail.com")
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue