Skip to content

Commit b299c82

Browse files
committed
smartstore#348 Messaging: OrderPlacedStoreOwnerNotification overwrites email account sender name with the customer's name
1 parent 5a274b7 commit b299c82

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* #340 Admin: Header overlays TinyMCE in fullscreen mode
1010
* #341 Orders are not cancellable
1111
* #342 Backend: order total is not editable
12+
* #348 Messaging: OrderPlacedStoreOwnerNotification overwrites email account sender name with the customer's name
1213
* Default value for plugin description not loaded into edit popup window
1314

1415

src/Libraries/SmartStore.Services/Messages/WorkflowMessageService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public virtual int SendOrderPlacedStoreOwnerNotification(Order order, int langua
392392

393393
// use buyer's email as reply address
394394
var replyToEmail = order.BillingAddress.Email;
395-
var replyToName = emailAccount.DisplayName = string.Format("{0} {1}", order.BillingAddress.FirstName, order.BillingAddress.LastName);
395+
var replyToName = string.Format("{0} {1}", order.BillingAddress.FirstName, order.BillingAddress.LastName);
396396
if (order.BillingAddress.Company.HasValue())
397397
{
398398
replyToName += ", " + order.BillingAddress.Company;

0 commit comments

Comments
 (0)