Get Delivered State from Messages

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
chiting23
New user
New user
Posts: 1
Joined: 2020-06-03 03:11

Get Delivered State from Messages

Post by chiting23 » 2020-06-03 05:48

Hi,

I'm trying to save the different state of the message (accepted / delivered / error ) through the script events. I want to know if its posible to just know when a message has been delivered to the destination server, in the Message object there is no property that indicate this, there is the State property but in the events is always 1 and after the events if i read this property through COM API is always 2 no matters if the message was delivered or not.

In the documentation of the Message object property State says "The state of the message" but no more description. There is a way to achieve this, or what I'm missing ?

Thanks for you time.

User avatar
RvdH
Senior user
Senior user
Posts: 1105
Joined: 2008-06-27 14:42
Location: Netherlands

Re: Get Delivered State from Messages

Post by RvdH » 2020-06-03 09:43

DSN (Delivery Status Notification) is not supported in HmailServer
You can use read/received receipt (MDN) in clients though
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

Post Reply