Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from App using Outlook
Message
 
To
25/08/2000 21:38:57
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00409103
Message ID:
00409513
Views:
22
PMFJI, but shouldn't:

lcattach = .icdocpath+alltrim(qmdocnm)

be:

lcattach = .icdocpath+alltrim(spoolQue.qmdocnm)


>*fax document
>local lcsubject lcattach
>with thisform
> .lbldoc.caption = "Faxing "+alltrim(spoolque.qmdocnm)
> lcattach = .icdocpath+alltrim(qmdocnm)
> lcsubject = alltrim(spoolque.qmsubject)
> lcbody = ""
> lcaddress = "[Fax:"+alltrim(spoolque.qmmaddr)+"]"
> lnerr = .cusmail.sendmail("","",lcaddress,lcsubject,lcbody,lcattach)
> select spoolque
> if lnerr > 0
> replace qmstatus with 'F'
> replace qmfault with "Failed"
> tableupdate(.t.)
> return .f.
> else
> replace qmstatus with 'C'
> replace qmfault with 'Done'
> tableupdate(.t.)
> return .t.
> endif
>endwith
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform