IBM Notes Email Sender format

Hi All,

As I am using IBM Lotus Notes to receive Email and I need to get the Email sender in a specific format for particular purpose, there are no so many source online.

Currently, the format I get is “Masonwyd@testing.com”. But what I intend to get is simply “Masonwyd”. However, I used the following code that not able to help me to the desired result.

Q2

Can anyone knows? Appreciate

Change the assignment for msgSender from mail.From to mail.From.Split("@"c)(0). This will get the text before the “@” symbol.

1 Like