I get this error when I customization for the notification email;
please help?
BPM runtime caught an unexpected exception of the ‘FormatException’ type.
See more info in the Inner Exception section of Exception Details.
Exception caught in: Epicor.ServiceModel
Error Detail
Description: BPM runtime caught an unexpected exception of ‘FormatException’ type.
See more info in the Inner Exception section of Exception Details.
Program: System.dll
Method: ParseLocalPart
Original Exception Type: FormatException
Framework Method: b__0
Framework Line Number: 123
Framework Column Number: 21
Framework Source: b__0 at offset 143 in file:line:column c:_Releases\ICE\3.1.600.0\Source\Framework\Epicor.Ice\Mail\SmtpMailer.cs:123:21
Server Trace Stack: at System.Net.Mail.MailAddressParser.ParseLocalPart(String data, Int32& index, Boolean expectAngleBracket, Boolean expectMultipleAddresses)
at System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index)
at System.Net.Mail.MailAddressParser.ParseMultipleAddresses(String data)
at System.Net.Mail.MailAddressCollection.ParseValue(String addresses)
at Ice.Mail.SmtpMailer.<>c__DisplayClass10_0.b__0(MailMessage acc, String next) in c:_Releases\ICE\3.1.600.0\Source\Framework\Epicor.Ice\Mail\SmtpMailer.cs:line 123
at System.Linq.Enumerable.Aggregate[TSource,TAccumulate](IEnumerable1 source, TAccumulate seed, Func3 func)
at Ice.Mail.SmtpMailer.ConvertToMailMessage(SmtpMail message) in c:_Releases\ICE\3.1.600.0\Source\Framework\Epicor.Ice\Mail\SmtpMailer.cs:line 118
at Ice.Mail.SmtpMailer.SendCore(SmtpMail message, IEnumerable1 attachments) in c:\_Releases\ICE\3.1.600.0\Source\Framework\Epicor.Ice\Mail\SmtpMailer.cs:line 92 at Epicor.Customization.Bpm.DBB3E86FDB8EC8425BA952D8258DB940FE.InTranDirective_SendEmailToPurchasing_7CC56E12749447F4A5BB7D6A21872004.A001_CustomCodeAction() at Epicor.Customization.Bpm.DBB3E86FDB8EC8425BA952D8258DB940FE.InTranDirective_SendEmailToPurchasing_7CC56E12749447F4A5BB7D6A21872004.ExecuteCore() at Epicor.Customization.Bpm.DirectiveBase
3.Execute(TParam parameters) in c:_Releases\ICE\3.1.600.0\Source\Server\Internal\Lib\Epicor.Customization.Bpm\DirectiveBase.Generic.cs:line 129
Client Stack Trace
at Epicor.ServiceModel.Channels.ImplBase1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets) at Erp.Proxy.BO.POSuggImpl.Generate(POSuggDataSet ds, String ipPlantKey, String ipCurBuyer, Nullable
1 ipCutOffDate)
at Erp.Adapters.POSuggAdapter.Generate(String ipPlantKey, String ipCurBuyer, Nullable`1 ipCutOffDate)
Inner Exception
An invalid character was found in the mail header: ‘;’.