sdugar
asked on
FedEx Email Notification not received but the package is shipped !?
I am not getting Email Notification from FedEx .While label creation there is no error.Label creation is getting done properly.Fedex is not sending any notifications during shipment on production server.
Please help me i have attached the codes responsible for email notifications.
Please help me i have attached the codes responsible for email notifications.
request.RequestedShipment.SpecialServicesRequested = New ShipmentSpecialServicesRequested()
request.RequestedShipment.SpecialServicesRequested.SpecialServiceTypes = New
ShipmentSpecialServiceType(0) {ShipmentSpecialServiceType.EMAIL_NOTIFICATION}
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail = New
EMailNotificationDetail()
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients = New EMailNotificationRecipient(0) {New EMailNotificationRecipient()}
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).EMailNotificationRecipientType = EMailNotificationRecipientType.RECIPIENT
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).Format = EMailNotificationFormatType.HTML
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).FormatSpecified = True
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).Localization = New Localization()
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).Localization.LanguageCode = "EN"
'*************For NotifyOnShipment*********************
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.PersonalMessage = "aaaaa"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).EMailAddress = "xxx@xxx.com;xxx@xxx.com"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnShipmentSpecified = True
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnShipment = True
'*************For NotifyOnException*********************
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.PersonalMessage = "aaaaa"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).EMailAddress = "xxx@xxx.com;xxx@xxx.com"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnExceptionSpecified = True
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnException = True
'*************For NotifyOnDelivery*********************
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.PersonalMessage = "aaaaaaa"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).EMailAddress = "xxx@xxxl.com;xxx@xxxl.com"
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnDeliverySpecified = True
request.RequestedShipment.SpecialServicesRequested.EMailNotificationDetail.Recipients(0).NotifyOnDelivery = True
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You could try using a comma instead of semicolon as a separator for your e-mail addresses. I had that issue with going from vs2003 to VS2005. It changed.
ASKER
thanks for the great help. you are one of the best here.