java - How to get mail delivery report in jsp -


in java project project send mail group or individual user. want know whether mail has delivered or not sender. if mail address wrong go report.

there no standard way of doing that's accepted , honored across board. see have options, though:

add header "return-receipt-to" e-mail address in value. if recipient of e-mail has client honors header, return receipt sent when e-mail opened. not reliable, mind you, user can decide not send receipt, if has client supports it.

add image e-mail loads server , put parameter on image includes user's e-mail address. when e-mail loads, image load server. write script collects e-mail parameter , delivers blank image. not reliable, however, many mail clients prompt users if wish download images , can choose not to. also, (mostly older) e-mail clients not support images.

perhaps reliable way not include message in e-mail @ all. include link website message can read, , include e-mail address or unique code in link. way, know read message. of course, has downside people aren't getting message in inbox, , may choose not go website read it.

ultimately, think you're going have come creative solution solve problem, unless you're happy getting spotty results.

please refer link


Comments