I am trying to send an email to an Outlook email address which contains white spaces like "outlook email account". I get an Illegal whitespace in address exception. Is there any way to send an email to an address with white spaces? Thanks
Joined: Jul 18, 2001
Are you sending to an email address or an Outlook name, because there is a difference. The name in Outlook is associated with an email address and that is what you need to be using. I am pretty sure a valid email address cannot have spaces, however I have no link to back that up with.
Joined: Apr 26, 2001
You are correct. The outlook name is linked to a valid email which I am now using and it works. Thanks for your help