I have a program that send emails with pdf's files attached in win98 2nd edition using mapi.session but it doesn't work in win 2000 and win xp

Does anybody know how to solve it? and one more, how could I know the operating system so the program could send emails in win xp and win 98

Any help will be welcome

Thank

Marian

Re: Win XP and Email by Eric

Eric
Thu May 20 09:00:29 CDT 2004

Hello, Mariano!
You wrote on Thu, 20 May 2004 04:41:04 -0700:

M> I have a program that send emails with pdf's files attached in win98 2nd
M> edition using mapi.session but it doesn't work in win 2000 and win xp.
M> Does anybody know how to solve it? and one more, how could I know the
M> operating system so the program could send emails in win xp and win 98.
M> Any help will be welcome.
M> Thanks

What do you mean with "it doesn't work in win 2000 and win xp"? Do you get
an error? I'm asking this because I have no problems with sending
MAPI-emails on Windows 2000 and Windows XP. You can retrieve operating
system information with the OS() function. Check this page on the wiki for
OS() return values: http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS~VFP
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: Win XP and Email by Eric

Eric
Thu May 20 10:27:42 CDT 2004

Hello, Mariano!
You wrote on Thu, 20 May 2004 08:21:11 -0700:

M> Cannot initiate mapi session

OK, did you setup a MAPI complient mail client, such as Outlook or Outlook
Express, correctly?
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8



Re: Win XP and Email by anonymous

anonymous
Thu May 20 11:01:05 CDT 2004

I have never setup anything, even when I installed for the first time the form that send emails
I know it works only with outlook and not with outlook express

I am waiting your help. Please include if i could send email with outlook express and how i should do it

Thank you very muc

M



Re: Win XP and Email by Eric

Eric
Thu May 20 12:27:37 CDT 2004

Hello, Mariano!
You wrote on Thu, 20 May 2004 09:01:05 -0700:

M> I have never setup anything, even when I installed for the first time
M> the form that send emails. I know it works only with outlook and not
M> with outlook express.
M> I am waiting your help. Please include if i could send email with
M> outlook express and how i should do it.
M> Thank you very much

I think it's better if you post your code to the group so that we can take a
look at it. If you're using the MAPI active libraries (msmapi32.ocx) to send
your mail, then you need a MAPI compliant mail program, otherwise it won't
work. Outlook and Outlook Express are MAPI compliant.
--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8