SMTPMAIL read receipt not working?

Progress 9.1e CHUI under windows xp

Hi

I have been using SMPTPMAIL57a for quite a while with no problems, and now a user want to use the Read Receipt/Delivery Receipt facility.

I have added CHR(1) + "yes,yes" to the Emailfrom field but the Receipts dont seem to have been actioned.

The line in my program is
Emailfrom = "<mike@sweetens.co.uk> + chr(1) + "yes,yes"


Any ideas as to what I am doing wrong ?


Regards

Mike


The following is from the Socketemail.log
28/09/06 16:27:45
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = <mike@sweetens.co.uk>
EmailReplyTo =
EmailTo = jeanette@sweetens.co.uk
EmailCC =
Attachments = TESTord2809200659252.pdf:type=application/data:filetype=B64ENCODED
LocalFiles = xordprint\TESTord2809200659252.pdf
Subject = Publisher Order
Body = Publisher Order for Flight Test Historical Foundat Report From Sweetens
MIMEHeader =
LocalHostName = aaa
Delivery Receipt = yes
Read Receipt = yes
Importance = 2
DoAuth = no
AuthType =
User =
Password =
28/09/06 16:27:45 processing Attachment xordprint\TESTord2809200659252.pdf
28/09/06 16:27:45 opening socket
28/09/06 16:27:45 Socket Connection Established.
28/09/06 16:27:46 Number of lines: 2
str:220 sweetens.co.uk ESMTP Sendmail 8.10.2/8.10.2; Thu, 28 Sep 2006 16:15:53 +0100

28/09/06 16:27:46 Parse Line:1
Line:220 sweetens.co.uk ESMTP Sendmail 8.10.2/8.10.2; Thu, 28 Sep 2006 16:15:53 +0100
28/09/06 16:27:46 Begin read state 1
RESP:220 sweetens.co.uk ESMTP Sendmail 8.10.2/8.10.2; Thu, 28 Sep 2006 16:15:53 +0100

28/09/06 16:27:46 1 220 HELO
28/09/06 16:27:46 newstate 5
CLIENT:HELO aaa

28/09/06 16:27:46 newstate - before 0 10 0
28/09/06 16:27:46 newstate - after 10 10 10
28/09/06 16:27:46 End read state 5
28/09/06 16:27:46 Number of lines: 2
str:250 ns4.orbit-internet.co.uk Hello i-194-106-46-216.freedom2surf.net [194.106.46.216], pleased to meet you

28/09/06 16:27:46 Parse Line:1
Line:250 ns4.orbit-internet.co.uk Hello i-194-106-46-216.freedom2surf.net [194.106.46.216], pleased to meet you
28/09/06 16:27:46 Begin read state 5
RESP:250 ns4.orbit-internet.co.uk Hello i-194-106-46-216.freedom2surf.net [194.106.46.216], pleased to meet you

28/09/06 16:27:46 5 250 Mail From
28/09/06 16:27:46 newstate 6
CLIENT:MAIL From: <mike@sweetens.co.uk>

28/09/06 16:27:46 newstate - before 0 34 10
28/09/06 16:27:46 newstate - after 34 34 34
28/09/06 16:27:46 Recipient Cnt: 1
28/09/06 16:27:46 End read state 6
28/09/06 16:27:46 Number of lines: 2
str:250 2.1.0 <mike@sweetens.co.uk>... Sender ok

28/09/06 16:27:46 Parse Line:1
Line:250 2.1.0 <mike@sweetens.co.uk>... Sender ok
28/09/06 16:27:46 Begin read state 6
RESP:250 2.1.0 <mike@sweetens.co.uk>... Sender ok

28/09/06 16:27:46 6 250 Mail TO/CC 1 of (To:1 cc:0)
28/09/06 16:27:46 1 Email to jeanette@sweetens.co.uk
28/09/06 16:27:46 newstate 7
CLIENT:RCPT TO: jeanette@sweetens.co.uk

28/09/06 16:27:46 newstate - before 0 34 34
28/09/06 16:27:46 newstate - after 34 34 34
28/09/06 16:27:46 End read state 7
28/09/06 16:27:46 Number of lines: 2
str:250 2.1.5 jeanette@sweetens.co.uk... Recipient ok

28/09/06 16:27:46 Parse Line:1
Line:250 2.1.5 jeanette@sweetens.co.uk... Recipient ok
28/09/06 16:27:46 Begin read state 7
RESP:250 2.1.5 jeanette@sweetens.co.uk... Recipient ok

28/09/06 16:27:46 7 250 Data
28/09/06 16:27:46 newstate 8
CLIENT:DATA

28/09/06 16:27:46 newstate - before 0 7 34
28/09/06 16:27:46 newstate - after 7 7 7
28/09/06 16:27:46 End read state 8
28/09/06 16:27:46 Number of lines: 2
str:354 Please start mail input.

28/09/06 16:27:46 Parse Line:1
Line:354 Please start mail input.
28/09/06 16:27:46 Begin read state 8
RESP:354 Please start mail input.

28/09/06 16:27:46 8 354 build header/send data
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 133 7
28/09/06 16:27:46 writedata - in 0 133 7
28/09/06 16:27:46 writedata = after 133 133 133
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 277 133
28/09/06 16:27:46 writedata - in 0 277 133
28/09/06 16:27:46 writedata = after 277 277 277
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 77 277
28/09/06 16:27:46 writedata - in 0 77 277
28/09/06 16:27:46 writedata = after 77 77 77
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 95 77
28/09/06 16:27:46 writedata - in 0 95 77
28/09/06 16:27:46 writedata = after 95 95 95
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 210 95
28/09/06 16:27:46 writedata - in 0 210 95
28/09/06 16:27:46 writedata = after 210 210 210
28/09/06 16:27:46 in getfile TempImprint\b64-TESTord2809200659252.pdf
M:\Midland\imprint\TempImprint\b64-TESTord2809200659252.pdf
FRW
407604
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 407604 210
28/09/06 16:27:46 writedata - in 0 407604 210
28/09/06 16:27:46 writedata = after 407604 407604 407604
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 2 407604
28/09/06 16:27:46 writedata - in 0 2 407604
28/09/06 16:27:46 writedata = after 2 2 2
28/09/06 16:27:46 writedata chomp null data 0
28/09/06 16:27:46 writedata - before 0 21 2
28/09/06 16:27:46 writedata - in 0 21 2
28/09/06 16:27:46 writedata = after 21 21 21
28/09/06 16:27:46 newstate 9
CLIENT:.

28/09/06 16:27:46 newstate - before 0 3 21
28/09/06 16:27:46 newstate - after 3 3 3
28/09/06 16:27:46 End read state 9
28/09/06 16:27:47 Number of lines: 2
str:250 Mail queued for delivery.

28/09/06 16:27:47 Parse Line:1
Line:250 Mail queued for delivery.
28/09/06 16:27:47 Begin read state 9
RESP:250 Mail queued for delivery.

28/09/06 16:27:47 9 250 send quit
28/09/06 16:27:47 newstate 10
CLIENT:QUIT

28/09/06 16:27:47 newstate - before 0 6 3
28/09/06 16:27:47 newstate - after 6 6 6
28/09/06 16:27:47 End read state 10
28/09/06 16:27:47 End SMTP Session
28/09/06 16:27:47
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = <mike@sweetens.co.uk>
EmailReplyTo =
EmailTo = RemoveEncodedFiles
EmailCC =
Attachments = TESTord2809200659252.pdf:type=application/data:filetype=B64ENCODED
LocalFiles = xordprint\TESTord2809200659252.pdf
Subject = Publisher Order
Body = Publisher Order for Flight Test Historical Foundat Report From Sweetens
MIMEHeader =
LocalHostName = aaa
Delivery Receipt = yes
Read Receipt = yes
Importance = 2
DoAuth = no
AuthType =
User =
Password =
28/09/06 16:27:47 Delete TempImprint\b64-TESTord2809200659252.pdf28/09/06 16:27:47 End SMTP Session
 
I don't know much about this, but if you have supplied the parameters correctly (and it looks like you have), you need to be aware that the facility to action receipts is not guaranteed - it depends on the clients and protocols involved in the process.

As far as the parameters go, are the < and > required around the from address?
 
Hi Knut,

Thanks for responding so quickly - I have tried it both with and without the <> around the Emailfrom and still do not get the Receipts.

However if I change the emailto to be 'me' I get the
'The message sender has requested a response ... etc'

???

Mike
 
I'm afraid I am completely guessing now...

The fact that you are receiving the message (presumably on a message box on your screen) indicates that smtpmail is correctly issuing the request in the first place.

This implies the original recipient is using a different client, or has a different client configuration, or something else has happened 'along the way'.

Sorry I am unable to help.

Later...
 

doreynie

Member
If you send the message to yourself, the email doesn't leave the company. If send to outside the company, the emailserver where your mail arrives must be capable of treating these receipts...and acknowledgeing back to the sender...
 
Top