Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Rep Power

    Default sending email without SMTP?

    Hi dude,
    After a lot of googling, i got code to send mail programatically in java but it works only with gmail although i substituted account name, password, smtp host and port after the discusion with my service engineer but vain. i got the following error
    javax.mail.MessagingException: Could not connect to SMTP host:, port: 25;

    and my need is some other way/code which does not use smtp host/port no

    Please let me know your kind reply!


  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    What other protocol would you use to send mail?
    When you find one you want to use, then you need to find a server that uses that protocol.

    Do you know why you got the error message from that host?
    If you can correct that problem, it might work.

Similar Threads

  1. send email using JMS
    By Heather in forum Advanced Java
    Replies: 9
    Last Post: 01-07-2009, 04:04 PM
  2. A Client to Send SMTP Mail
    By Java Tip in forum
    Replies: 0
    Last Post: 04-07-2008, 09:06 PM
  3. Readind email from smtp server
    By pzkhan in forum Advanced Java
    Replies: 0
    Last Post: 02-10-2008, 08:57 AM
  4. help in email developing
    By reached in forum New To Java
    Replies: 0
    Last Post: 12-09-2007, 08:55 PM
  5. Email Sigs.
    By tomrayne in forum Advanced Java
    Replies: 1
    Last Post: 07-13-2007, 10:14 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