Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending an email with a different email address/sender n
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01305220
Message ID:
01305223
Vues:
14
Hi Robin,

the "tag" is field ID in fields collection.

tag = BITOR( tag, 0x1E) && the type is PT_STRING8 (UNICODE) && Foxpro

MartinaJ

>Hi
>
>I'm using Outlook with Redemption, I want to send an email from another email address, on their website there example which I have tried to convert from VB to VFP says:
>
>
>sItem.Item = oMailItem
>tag = sItem.GetIDsFromNames("{00020386-0000-0000-C000-000000000046}", "From")
>tag = tag or &H1E     && the type is PT_STRING8             && Foxpro doesn’t like this line
>sItem.Fields(Tag) = "Someone <whoever@domain.com>"          && and this line give an invalid subscript reference
>sItem.Subject = sItem.Subject  'to trick Outlook into thinking that something has changed
>safeitem.save()
>
>
>Anyone know what the two lines with the tag should be?
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform