DEFINE MAIL

Post Reply
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

DEFINE MAIL

Post 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
User avatar
Luis Krause
Posts: 59
Joined: Tue Oct 11, 2005 1:39 am
Location: Vancouver, Canada

Re: DEFINE MAIL

Post 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
"May the Source be with GNU"
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Post by clemerson »

he didn't work;

Fivewin 2.7 for xHarbour - Windows XP
User avatar
Luis Krause
Posts: 59
Joined: Tue Oct 11, 2005 1:39 am
Location: Vancouver, Canada

Post 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
"May the Source be with GNU"
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
Post Reply