Message read or Message deleted without being read

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
stevyrino
New user
New user
Posts: 9
Joined: 2017-11-13 08:15

Message read or Message deleted without being read

Post by stevyrino » 2017-11-13 08:25

Hello:
Windows Server Environment
Currently on an existing SMTP system, I am able to set flags on a message that causes a return email message if a message is read, or a return email message if the message is deleted without being read. The messages being sent are orders.

This functionality has been running for years on our application system and is important to the functioning of the business process.

I am not able to figure out how hMailServer can do this, or whether or not it is capable of doing this.

Not having this capability would be a deal breaker for using hMailServer.

Thanks for any help.

stevyrino
New user
New user
Posts: 9
Joined: 2017-11-13 08:15

Re: Message read or Message deleted without being read

Post by stevyrino » 2017-11-13 08:29

I forgot to mention that I am using the COM api to programmatically create messages and send them out.

User avatar
mattg
Moderator
Moderator
Posts: 19101
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Message read or Message deleted without being read

Post by mattg » 2017-11-13 09:19

This actually has little to do with the server but more to do with the message itself.
How had the message been created previously when this worked?
What SMTP server was used?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

stevyrino
New user
New user
Posts: 9
Joined: 2017-11-13 08:15

Re: Message read or Message deleted without being read

Post by stevyrino » 2017-11-13 22:59

mattg wrote:This actually has little to do with the server but more to do with the message itself.
How had the message been created previously when this worked?
What SMTP server was used?
I have been using the MS SMTP server and the DotNet api interface on Windows Servers.
This is the piece of code that does this:

msg.DeliveryNotificationOptions = Net.Mail.DeliveryNotificationOptions.OnSuccess Or Net.Mail.DeliveryNotificationOptions.OnFailure
' //set read receipt
'//To request a read receipt, we need add a custom header named 'Disposition-Notification-To'
'//in this example, read receipts will go back to 'someaddress@mydomain.com'
'//it's important to note that read receipts will only be sent by those mail clients that
'//a) support them
'//and
'//b)have them enabled.
msg.Headers.Add("Disposition-Notification-To", "<info@someplace.com>")

Trying to determine equivalent for hMailServer.
Thx

User avatar
mattg
Moderator
Moderator
Posts: 19101
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Message read or Message deleted without being read

Post by mattg » 2017-11-14 01:15

oMessage.HeaderValue("Disposition-Notification-To") = "<info@someplace.com>"
oMessage.save

I think this should replace the header if one already exists of the same name
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

stevyrino
New user
New user
Posts: 9
Joined: 2017-11-13 08:15

Re: Message read or Message deleted without being read

Post by stevyrino » 2017-11-14 22:57

mattg wrote:oMessage.HeaderValue("Disposition-Notification-To") = "<info@someplace.com>"
oMessage.save

I think this should replace the header if one already exists of the same name
Thanks .... that worked.

cheers

Post Reply