DEFINE MAIL

DEFINE MAIL

Postby clemerson » Thu Sep 21, 2006 3: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
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil

Re: DEFINE MAIL

Postby Luis Krause » Thu Sep 21, 2006 6: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"
User avatar
Luis Krause
 
Posts: 59
Joined: Tue Oct 11, 2005 1:39 am
Location: Vancouver, Canada

Postby clemerson » Thu Sep 21, 2006 6:36 pm

he didn't work;

Fivewin 2.7 for xHarbour - Windows XP
User avatar
clemerson
 
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil

Postby Luis Krause » Thu Sep 21, 2006 8: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"
User avatar
Luis Krause
 
Posts: 59
Joined: Tue Oct 11, 2005 1:39 am
Location: Vancouver, Canada

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 83 guests

cron