Results 1 to 6 of 6
  1. #1
    chahhchahh is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default sending a simple email message via SMTP

    Good Day

    I'm really having a hard time setting up SMTP servers, and trying to send a simple email via different SMTP servers with the use of the JavaMail API. Please give me a guide on what SMTP server should I use (a SMTP server program that bypasses ISP's mail server), and what will be the code using the JavaMail API?

  2. #2
    critdevil's Avatar
    critdevil is offline Member
    Join Date
    Mar 2009
    Posts
    8
    Rep Power
    0

    Default

    whats your OS?

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    8

    Default

    You have to send your mail somewhere. Generally, you use an ISP with whom you have an email account, such as gmail.

    Most mail servers require a secure connection and do not run on the standard SMTP port. Go to your ISP's help page and read their instructions. You will have to use their encryption standard, port, and pass your user name and password.

  4. #4
    chahhchahh is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default

    im using windows xp pro sp3

  5. #5
    chahhchahh is offline Member
    Join Date
    Mar 2009
    Posts
    3
    Rep Power
    0

    Default

    Is there a way to send email messages that bypasses the ISP's mail server? Like for example, email messages are directly sent to the mail boxes from localhost.

  6. #6
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Quote Originally Posted by chahhchahh View Post
    Is there a way to send email messages that bypasses the ISP's mail server? Like for example, email messages are directly sent to the mail boxes from localhost.
    You can run sendmail or postfix and send them directly. postfix is a lot easier to setup. But neither are trivial to deal with, can you accept a lot of responsibilities when you do.

Similar Threads

  1. Sending [CDATA] element with SOAP message
    By suchismitasuchi in forum Advanced Java
    Replies: 0
    Last Post: 01-19-2009, 11:59 AM
  2. [SOLVED] Sending a message to clients using RMI
    By ChrisMayhew in forum New To Java
    Replies: 11
    Last Post: 01-12-2009, 08:29 PM
  3. sending email without SMTP?
    By java_srinivasan in forum Advanced Java
    Replies: 1
    Last Post: 07-23-2008, 04:45 PM
  4. sending the message from trigger to mailid
    By geeta_ravikanti in forum JDBC
    Replies: 0
    Last Post: 04-04-2008, 12:09 PM
  5. Readind email from smtp server
    By pzkhan in forum Advanced Java
    Replies: 0
    Last Post: 02-10-2008, 08:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •