Hi,
I got this output after reading email from email id. I need only email from whole email address. Please help me in this.
Thanks & Regards,
Mohd.
Hi,
I got this output after reading email from email id. I need only email from whole email address. Please help me in this.
Thanks & Regards,
Mohd.
Hi @mohammed_zain
Are you reading this from a MailMessage object or is this a String value you’re getting from some other source?
MailMessage.From
property to get the email address.emailOnly = emailString.Substring(emailString.IndexOf("<") + 1)
skulkarni.....@naukri.com>
emailOnly = emailOnly.Replace(">", "")
emailOnly = emailString.Substring(emailString.IndexOf("<") + 1).Replace(">", "")
Thanks a lot bro.
Happy Automation.
Mohd
Not using ‘Solution’ right, but you’re welcome!
Cheers!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.