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
>>>>
Simon White
dCipher Computing