FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DEFINE MAIL
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
DEFINE MAIL
Posted: Thu Sep 21, 2006 03:01 PM

Hi,

how do I do to order e-mail with reading confirmation?

DEFINE MAIL oMAIL SUBJECT "test" TO "test@test.com" FILES "test.txt","text.txt" FROM USER
SEND MAIL oMAIL

Clemerson

Posts: 59
Joined: Tue Oct 11, 2005 01:39 AM
Re: DEFINE MAIL
Posted: Thu Sep 21, 2006 06:10 PM
Just add the RECEIPT keyword

DEFINE MAIL oMAIL SUBJECT "test" TO "test@test.com" FILES "test.txt","text.txt" FROM USER RECEIPT

clemerson wrote:Hi,

how do I do to order e-mail with reading confirmation?

DEFINE MAIL oMAIL SUBJECT "test" TO "test@test.com" FILES "test.txt","text.txt" FROM USER
SEND MAIL oMAIL


Clemerson
"May the Source be with GNU"
Posts: 58
Joined: Fri Mar 10, 2006 08:13 PM
DEFINE MAIL
Posted: Thu Sep 21, 2006 06:36 PM

he didn't work;

Fivewin 2.7 for xHarbour - Windows XP

Posts: 59
Joined: Tue Oct 11, 2005 01:39 AM
DEFINE MAIL
Posted: Thu Sep 21, 2006 08:58 PM
Clemerson:

I've never used this class, only TSmtp, so I'm afraid I can't help you more.

The only thing I did was look into mail.ch and tmail.prg... it has a ::lReceipt DATA which I thought should handle that. Maybe someone that has used this class can chime in with other ideas/fixes.

clemerson wrote:he didn't work;

Fivewin 2.7 for xHarbour - Windows XP
"May the Source be with GNU"
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
DEFINE MAIL
Posted: Thu Sep 21, 2006 10:37 PM

Clemerson,

I confirm that the RECEIPT clause has no effect under FWH 2.7, Aug 2006 build, XP Pro, and OE. If I manually generate a message with a return receipt, it contains this line:

Disposition-Notification-To: "James" <test@whatever.com>

But if I generate a message from FWH with the RECEIPT clause the message does not contain the line. So, there is either a bug in MAPI, OE, or in FW's mapi.c module.

Antonio, any ideas?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion