Search found 298 matches: mapi

Return to advanced search

Re: FWH MAIL - MAPI

Gilbert, Never used it. I have a app. where I use it the same way as mentioned by Tim above. Will look into it, because it seems to have much more options. For reading is the pop3 class ok ? I can read mails with it, but it always deletes them on the server, even If I put oInMail:lDelMsgs := .F. // ...
by Marc Venken
Mon Jul 17, 2017 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH MAIL - MAPI
Replies: 9
Views: 2116

Re: FWH MAIL - MAPI

Marc, did you already try to use the TMail Class? oMail:=TMail():New()oMail:cSubject:="your subject"oMail:aRecipients:={"..."} // your recipient(s)oMail:cNoteText:= "your text"oMail:Activate()oMail:End()  I've never made a speci...
by gkuhnert
Mon Jul 17, 2017 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH MAIL - MAPI
Replies: 9
Views: 2116

Re: FWH MAIL - MAPI

Is this also possible for Thunderbird and others ? Marc Tim, maybe this code helps you in any way sending mails via Outlook: static function SendTestMail()local oMail := CreateOutlookMail()    oMail:Send()return .t.static function CreateOutlookMail()local oItemlocal o...
by Marc Venken
Mon Jul 17, 2017 10:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH MAIL - MAPI
Replies: 9
Views: 2116

Re: FWH MAIL - MAPI

Tim,

If you leave out the

From User

in the program, it send by outlook, but with no action from the user. If that is what you mean.
The mails are however in the outbox, and you don't want that ?

Marc
by Marc Venken
Mon Jul 17, 2017 10:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH MAIL - MAPI
Replies: 9
Views: 2116

Re: FWH MAIL - MAPI

Tim, maybe this code helps you in any way sending mails via Outlook: static function SendTestMail()local oMail := CreateOutlookMail()    oMail:Send()return .t.static function CreateOutlookMail()local oItemlocal oOutlook := GetOutlookObject()    oItem := osOutl...
by gkuhnert
Mon Jul 17, 2017 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH MAIL - MAPI
Replies: 9
Views: 2116

Re: CDO MAPI versions and files

hi James,
thank you for link and help.
I have to use MAPI because I now have not any others solution.
now I try with your link.
by damianodec
Mon Jun 19, 2017 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: CDO MAPI versions and files

Damiano,

What you are using now is the basic simple MAPI. This doesn't have any of the advanced features that CDO has so you will have issues with those servers that require the use of those features. You are lucky that the server your client is using doesn't require any of them.

James
by James Bott
Sun Jun 18, 2017 11:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: CDO MAPI versions and files

For those having CDO problems I just found a very comprehensive list of errors and instructions for dealing with them.

http://www.ctimls.com/Support/KB/Error% ... _Error.htm

Regards,
James
by James Bott
Sun Jun 18, 2017 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: CDO MAPI versions and files

hi James,
Code: Select all  Expand view
  DEFINE MAIL oMail ;
      SUBJECT textSubject ;
      TEXT  MessageText ;
      FROM USER ;
      TO "myCust@dominio.it", ;
                "myBoss@gmail.com" ;   
      RECEIPT

   ACTIVATE MAIL oMail


this is enough now for my app but I hope to arrange my app soon with CDO
by damianodec
Thu Jun 15, 2017 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: CDO MAPI versions and files

Damiano,

May I ask what are you using now?

James
by James Bott
Wed Jun 14, 2017 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: CDO MAPI versions and files

hi James
I leave CDO because in my lan there are a lot of pc that not work with any version or configuration (pc with Win7 and Win10)
by damianodec
Wed Jun 14, 2017 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

CDO MAPI versions and files

Everyone, I notice several of you have been having trouble with CDO lately. I have a client that also in having an issue after they installed a new mail server. I was reading up on CDO today and came across this page which lists all the versions of CDO and has the files available for download (it is...
by James Bott
Tue Jun 13, 2017 11:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CDO MAPI versions and files
Replies: 6
Views: 1144

Re: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?

Enrico,

Good to know. I just looked at the source (TMail.prg) and I see the the mapiLogon() is commented out now.

Thanks for pointing it out.

James
by James Bott
Mon Jun 12, 2017 10:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?
Replies: 7
Views: 1878

Re: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?

... your routine. The End() method calls MapiLogoff(), so this may be significant. It could create a memory issue, or a CDO issue. METHOD End() INLINE MAPILogOff() No, it is not required. A MAPI session is automatically created and released if you don't use MAPILogon(). EMG
by Enrico Maria Giordano
Mon Jun 12, 2017 9:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?
Replies: 7
Views: 1878

Re: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?

Tim, I see another issue with your code. You need to do: oMail:end() At the end of your routine. The End() method calls MapiLogoff(), so this may be significant. It could create a memory issue, or a CDO issue. METHOD End() INLINE MAPILogOff() I suggest fixing that and declaring oMail as local. Then ...
by James Bott
Sun Jun 11, 2017 8:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: MAPI -- Why it sometimes work, and sometimes doesn't ?
Replies: 7
Views: 1878
PreviousNext

Return to advanced search