>I am using West Wind wwIPStuff classs to send emails within VFP application. In some cases I need to allow the user to enter multiple e-mail addresses as a recipient. The class works perfect if addresses “;” delimited like (xxx1@yzcom.com;xxx2@yzcom.com;xx3@yzcom.com), but if instead of “;” a user will use “,” or spaces or a combination of any delimiters with spaces like (xxx1@yzcom.com;
xxx2@yzcom.com,
xx3@yzcom.com,xx4@yzcom.com) the e-mail will be returned with a failure notice.
>I would like to replace all delimiters (like “,” and spaces or tabs or a combination with “;”). Does any one have an idea how to do that? Thank you in advance.
You just have to STRTRAN() for specific character.
lcEmail=...
lcEmail=STRTRAN(lcEmail,',',';')
lcEmail=STRTRAN(lcEmail,' ',';')