Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2008, 04:09 PM
Member
 
Join Date: Jun 2008
Posts: 4
java_srinivasan is on a distinguished road
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:172.17.240.7, 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!

Regards,
SRI.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2008, 05:45 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Gone to Costa Rica
Posts: 2,223
Norm is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
send email using JMS Heather Advanced Java 8 Yesterday 04:59 PM
A Client to Send SMTP Mail Java Tip java.net 0 04-07-2008 10:06 PM
Readind email from smtp server pzkhan Advanced Java 0 02-10-2008 09:57 AM
help in email developing reached New To Java 0 12-09-2007 09:55 PM
Email Sigs. tomrayne Advanced Java 1 07-13-2007 11:14 AM


All times are GMT +3. The time now is 04:10 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org