Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPIMAIL Class CreateSession Error
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00896958
Message ID:
00900101
Views:
182
Simon,

I don´t understand this. You could create a form where the user can enter the missing data (including to, cc and bcc fields) and still use cdo to send the message. The reason I do this because I can never tell what email client will be used: outlook, outlook express, notes etc. Cdo talks to the smtp server and does not look for any installed client email programs. the cdo message is therefor consistent making programming a lot easier.

Ron

>Hi
>
>The problem is not sending eMail. The problem is that I must use the clients eMail program so they can address the message to appropriate person.
>
>I have no problems sending eMail via an SMTP server if I already know the destination address. In the above case the destination can be anyone the user decides needs to see a copy of a report.
>
>Thanks
>Simon
>
>>Simon,
>>can´t you use ´cdo´ to send messages. It is already present on W2K and XP machine. All you need is a smtp server on you network.
>>CDO does not need any further email clients.
>>There are loads of examples to this.
>>
>>Regards,
>>Ron
>>>Hi
>>>
>>>I do not have OutLook installed on this workstation. I tried with OutLook Express and then I tried with PocoMail open but I still get the same error message.
>>>
>>>I know how to use Outlook automation but not all my clients use Outlook so I am trying to get a generic MAPI approach working.
>>>
>>>Thanks
>>>Simon
>>>
>>>>Hi Simon,
>>>>
>>>>Do you've Oulook (or other mail client) running at the time when you use Mapimail? If you don't you may have to supply Profile name and password as the first two parameters.
>>>>
>>>>>Hi Sergey
>>>>>
>>>>>It turns out that laError(3) just contains an empty string but during debugging I found that the SignOn method generates the error.
>>>>>
>>>>>The following is contained was obtained from AError()
>>>>>
>>>>>laError(1,1)=1429
>>>>>laError(1,2)="OLE IDispatch exception code 0 from MAPISession: .."
>>>>>laError(1,3)=""
>>>>>laError(1,4)="MAPISession"
>>>>>laError(1,5)="MAPI98.CHM"
>>>>>laError(1,6)=-2147435259
>>>>>laError(1,7)=15621
>>>>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform