Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Problem with Powerbuilder MAPI / Mozilla Thunderbird / Tobit David

$
0
0

Hello,

 

 

since PB 12.6 (Build 4035) we have problems using the "mailsession" object with programs like "Mozilla Thunderbird" or "Tobit David".

 

Although e.g. Mozilla is the default email client on the users computer, the mailsession object always tries to send mails using Outlook.

 

With PB 12.5 it worked as it should.

 

 

I read that you changed the mailsession object to "extended mapi". Do we have to rewrite our code to send mails with Mozilla again?

 

 

We send mails like that:

 

mailSession     mSes

mailMessage     mMsg

 

mSes = CREATE mailSession

 

mSes.mailLogon()

 

mMsg.Subject          = "Subject"

mMsg.NoteText         = "Body"

 

mMsg.Recipient[1].Name               = "Test"

mMsg.Recipient[1].Address           = "test@test.com"

mMsg.Recipient[1].RecipientType  = MailTo!

 

mMsg.AttachmentFile[1].Pathname    = "c:\print\invoice.pdf"

mMsg.AttachmentFile[1].FileType    = mailAttach!

mMsg.AttachmentFile[1].Position    = 1

  

mRet = mSes.mailSend(mMsg)

 

mSes.mailLogoff()

 

Regards

Stefan


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>