java - What is needed to add emailing capabilities to web application? -


I have a Java web application for which I would like to add emailing capabilities, however, I have uncertainty what is required for it Complete this, especially I want my app to be able to:

  1. Send email confirming sign-up
  2. Send send < / Em> Allow email to be sent to one of my app's domain i.e. dan@my-app.com

Ray research it seems that I need an IMAP server like postfix and possibly courier or a postal transfer agent (MTA); But I do not understand the need for an IMAP server.

Thank you.

You can send your web for SMTP-e-mail creating and sending Code is required inside the app, usually JavaMail is used for it, and you can either attach it to your web application or (preferred) right-configured example through JNDI near the web container. . This seller is specific.

If you do not have an SMTP-server (often it is an exchange for Windows stores) to connect to JavaMel, you are running one (ask your IT administrator) or you can use Google Mail or Hotmail or other if it's okay to send mail through your web application. Using GMail as SMTP-Server is a bit tricky, but when set up correctly works very well.

You will need SMTP-server, because it handles all the boring details about the MX record if SMTP-server graying, etc ..

Oh, and IMAP Getting is not delivering mail, sending is not needed for you.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -