File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
using SparkPost . Utilities ;
2
2
using System ;
3
3
using System . Collections . Generic ;
4
+ using System . ComponentModel ;
4
5
5
6
namespace SparkPost
6
7
{
@@ -132,7 +133,11 @@ public BounceClass BounceClassEnum
132
133
/// },
133
134
/// "msg_from": "msprvs1=17827RA6TC8Pz=bounces-12345@sparkpostmail1.com",
134
135
/// </summary>
135
- public string MessageForm { get ; set ; }
136
+ public string MessageFrom { get ; set ; }
137
+
138
+ [ EditorBrowsable ( EditorBrowsableState . Never ) ]
139
+ [ Obsolete ( "Use MessageEvent.MessageFrom." ) ]
140
+ public string MessageForm { get { return MessageFrom ; } set { MessageFrom = value ; } }
136
141
137
142
/// <summary>
138
143
/// "msg_size": {
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ private static IEnumerable<MessageEvent> ConvertResultsToAListOfMessageEvents(dy
112
112
ErrorCode = result . error_code ,
113
113
IpAddress = result . ip_address ,
114
114
MessageId = result . message_id ,
115
- MessageForm = result . msg_from ,
115
+ MessageFrom = result . msg_from ,
116
116
MessageSize = result . msg_size ,
117
117
NumberOfRetries = result . num_retries ,
118
118
RecipientTo = result . rcpt_to ,
You can’t perform that action at this time.
0 commit comments