Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with SENDMAIL
Message
 
 
To
23/07/1999 10:59:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00245292
Message ID:
00248554
Views:
61
Hello Guys:

I'm new on trying to send e-mail from VFP, the question is how do you set up first of all the OleMMess object, so then I can state all the required properties as Mike's exapmle code?

Do I need to:
CreateObject(?????) or OleMMess=Addobject(?????)

Thanks to all in advance!
--------------------------------------------

>I use Outlook to create e-mail messages and for adding address I must use ADD metod. Try change line to:
>this.parent.OleMMess.RecipAddress.Add="MVaccarello@IDPNET.COM"
>
>Maros Klempa
>
>>I have figured out how to add attachments, put subjects, and messages using
>>some of the code provided in the SENDMAIL sample. However, every time I try to
>>put a recipient (because I want it to mail out automatically and not come up
>>in front of the user), I get an error. Here is the code:
>>
>>CODE THAT I KNOW WORKS FINE
>>this.parent.OleMMess.sessionid=this.parent.OleMSess.sessionid
>>* Start a new mail message and build the text
>>this.parent.OleMMess.compose
>>lcMessageText="Testing this message"
>>this.parent.OleMMess.msgnotetext=lcMessageText
>>this.parent.OleMMess.msgsubject="IDP Upload Interface Report"
>>this.parent.OleMMess.AttachmentName = "junk.txt"
>>this.parent.OleMMess.AttachmentPathName = "C:\junk.txt"
>>this.parent.OleMMess.send(1)
>>
>>
>>When I insert the line below just above the SEND command, it always gives
>>me an error:
>>this.parent.OleMMess.RecipAddress="MVaccarello@IDPNET.COM"
>>
>Any ideas? Any help? Documentation is hard to find for this.
>>
>>
>>Thanks.
>>
>>Mike Vaccarello
Jorge Flores
From the Amigo Country
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform