Page 1 of 1

DEFINE MAIL

Posted: Thu Sep 21, 2006 3:01 pm
by clemerson
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

Re: DEFINE MAIL

Posted: Thu Sep 21, 2006 6:10 pm
by Luis Krause
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

Posted: Thu Sep 21, 2006 6:36 pm
by clemerson
he didn't work;

Fivewin 2.7 for xHarbour - Windows XP

Posted: Thu Sep 21, 2006 8:58 pm
by Luis Krause
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

Posted: Thu Sep 21, 2006 10:37 pm
by James Bott
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