Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recipients address not always valid
Message
From
24/04/2003 12:48:12
 
 
To
24/04/2003 07:11:09
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00780998
Message ID:
00781190
Views:
15
>To address this specific problem, does this help?
>
>
>*** First see if the sender name actually IS
>*** an e-mail address
>if '@' $ loItem.SenderName
>  lcSenderEm2 = loItem.SenderName
>else
>  if empty(loItem.To)
>    *** don't reply - this is just a draft
>    lcSenderEm2 = "Draft"
>  else
>    loReply = loItem.Reply()
>    loRecip = loReply.Recipients[ 1 ]
>    lcSenderEm2 = IIF( NOT EMPTY( loRecip.Address ), ;
>      loRecip.Address, loRecip.Name )
>  endif
>endif
>
You may refer to the other reply.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform