• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaMail

 
Brice Kieffer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I need support to use the JAVAMAIL API to sent and received DSN. I think I have understoud the send email procedure via SMTP; But I have not for retreive the DSN. If I understand the DSN not come to me automatically, I need to retrieve ts by myself with pop3 object. Some body have an example to show me?

Thank you for your help.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some information is in (or linked from) this topic: http://www.coderanch.com/t/434460/java/java/delivery-status-notification
 
Brice Kieffer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks i had seen this topic but some link does not work and it does not answer to all question
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not a subject that gets asked much, because DSNs generally do not work well (or at all) over the mail protocols supported by JavaMail. It's not like it's baked into the protocols and the mail client like it is with Outlook/Exchange.
 
Brice Kieffer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you any idea on how outlook correlate the e-mail and the delivery acknowledgement?
I made some capture with Wireshark and i don't see any ID or other which can match in two messages first email and delivery acknowledgement message

Thank for your help ;)
 
Brice Kieffer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just found the transportListener. Is hits listener acknowledge the delivery of the message when the MTA have receive it or when the end user received it ?
 
Paul Clapham
Sheriff
Posts: 20990
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It informs you when your SMTP server handles the message. (I'm not sure what "handles" means there, but hopefully the API documentation explains it. I didn't take the time to check the documentation, under the assumption that you had already found it and were asking for clarification.)

Your SMTP server may not send the message to the recipient immediately; for example it might put the message in a queue to be sent later. In addition it may take some time for your SMTP server to locate the recipient's server; for example that server might be temporarily down, in which case your server will try again later.

Remember to think of e-mail as being like the post office and not like the telephone system.
 
Brice Kieffer
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
many thanks for your help. It's really a pleasure to post on this forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic