Using Aspose.Network is it possible to convert an SenderEmailAddress from LDAP to SMTP?
For example,
LDAP:
/O=ORGANIZATION_NAME /OU=EXCHANGE_GROUP /CN=RECIPIENTS /CN=USER_NAME
SMTP:
Using Aspose.Network is it possible to convert an SenderEmailAddress from LDAP to SMTP?
For example,
LDAP:
/O=ORGANIZATION_NAME /OU=EXCHANGE_GROUP /CN=RECIPIENTS /CN=USER_NAME
SMTP:
Hi,
Thank you for inquiry.
Aspose.Network always tries to get the smtp address when message is loaded from Exchange Server. Could you please tell your scenario?
Do you download the message using ExchangeWebServiceClient.FetchMessage() or other class?
Or do you already have a saved MSG file and are loading it in MailMessage or MapiMessage? Please provide the sample file in this case.
The message is extracted from a saved PST which will most likely be processed on a machine that is not connected to the Exchange Server. I have tried to access the Sender email address using both MailMessage and MapiMessage
MailMessage mailMsg = MailMessage.Load(filePath, Aspose.Network.Mail.MessageFormat.Msg);string senderAddress = mailMsg.From.Address;
MapiMessage msg = MapiMessage.FromFile(filePath);string senderAddress = msg.SenderEmailAddress;Is it possible to get the SMTP address?Thanks for your help!
Hi,
Thanks for the information.
Could you please post a sample MSG file here, we will check if it contains smtp mail address and it can be fetched or not. You may either post here or zip/send me via email using “Contact” --> “send saqib.razzaq an email” button on this post.
Hi,
I have received the sample file and tried to extract the sender’s address in smtp format, but I was um-successful. When opened in MS Outlook, the To field shows the smtp address, but from field shows in other format.
I have forwarded it to the development team for their analysis. I will update you here as I get any news.
try the substorages
The issues you have found earlier (filed as 30450 ) have been fixed in this update.
Thank you for investigating this issue. However, it does not appear to be fixed in Aspose.Mail 1.1. I have checked the substorages and do not find the SMTP address for internal exchange emails. Am I missing a step and if so can you please provide me details for how I can extract the SMTP addresss?
Hi Jeff,
Babar,
Hi Jeff,
Hi again,
Babar,
Hi Jeff,
Was this ever resolved?
Hi Jeff,