|
Kelvin
|
 |
« on: March 28, 2004, 03:30:39 PM » |
|
Hi Folks, I've uploaded a new JavaMail wrapper and example Jsp, You can download it from http://lunarwarriors.com/jsp/Mail.warThis version allows for Authentication to be switched on and off, html based emails, multiple recipients (also CC & BCC). Please read/edit the sendmail.jsp before using. Note as usual this is not supported by Lunarpages, any questions must be directed to this forum.
|
|
|
|
« Last Edit: August 27, 2005, 10:52:15 PM by Danielle »
|
Logged
|
Kelvin
"Failure is not an option. It comes bundled with the software."
|
|
|
|
babckok
|
 |
« Reply #1 on: October 01, 2004, 11:10:00 PM » |
|
It's working on tomcat server but not on Lp server.
|
|
|
|
|
Logged
|
|
|
|
faisal
Trekkie

Offline
Posts: 13
|
 |
« Reply #2 on: October 03, 2004, 06:49:57 AM » |
|
It does work with lunar pages as I have proof of it. See http://www.renjo.com/contactus.jsp I have just used it as it is and only change the jsp. Thanks for the help Kevin!
|
|
|
|
|
Logged
|
|
|
|
|
babckok
|
 |
« Reply #3 on: October 03, 2004, 10:51:22 AM » |
|
What files did you put in the lib folder?
|
|
|
|
|
Logged
|
|
|
|
faisal
Trekkie

Offline
Posts: 13
|
 |
« Reply #4 on: October 04, 2004, 01:59:29 AM » |
|
Hi, ativation.jar and mail.jar
You should keep the class file same and then in the jps you need to make changes like specify your server address, password, login etc. Also specify "to" and "from".
It runs fine.
Faisal
|
|
|
|
|
Logged
|
|
|
|
|
gvivek99
|
 |
« Reply #5 on: October 23, 2004, 12:21:01 PM » |
|
I am testing this from my local system trying to use to send mail using LP SMTP server. But I am always getting javax.mail.MessagingException: Could not connect to SMTP host: www.xxxx.com , port: 25 Any advice. Thanks gvivek99
|
|
|
|
|
Logged
|
|
|
|
|
Danielle
Guest
|
 |
« Reply #6 on: October 23, 2004, 12:41:21 PM » |
|
Hi gvivek99, Is that the actual error message or did you replace your domain name with www.xxx.com ? Also, you should not use www.domain.com for the SMTP host as www. is HTTP not SMTP. Please use domain.com instead. Thanks.
|
|
|
|
|
Logged
|
|
|
|
|
gvivek99
|
 |
« Reply #7 on: October 23, 2004, 02:51:48 PM » |
|
Sorry about typo mistake. I used domain.com as I got in my welcome mail. I am tryinh my program from command line. Is that a problem.
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
GMTurner
|
 |
« Reply #8 on: October 23, 2004, 06:27:38 PM » |
|
You might also want to make sure that your ISP has not blocked port 25.. more and more ISPs are blocking port 25 to make sure that you only use their SMTP server.... for your email client, are you able to use your domain as the SMTP server, or do you have to use your ISPs?
|
|
|
|
|
Logged
|
The above post was made at a time when I gave a dang and doesn't necessarily reflect my current views or opinions. For those no longer with us ... Turner's Lounge
|
|
|
|
gvivek99
|
 |
« Reply #9 on: October 23, 2004, 09:22:09 PM » |
|
Hi GM, I think I should able to use my domain as SMTP server. I am not sure that to use SMTP server at LP. I have to be in their network or I can use these server from outside word too.
I am having one SMTP server on my local system and it works good to me. So it does not sounds ISP issue.
Hope this will help Thanks
|
|
|
|
|
Logged
|
|
|
|
colora22
Trekkie

Offline
Posts: 16
|
 |
« Reply #10 on: March 04, 2005, 10:36:21 PM » |
|
I moved Mail.war to my public_html/webapps directory. The only files being extracted by resin are the class files for a bean. I can't seem to find any sendmail.jsp. Prior to trying this I uploaded both mail.jar and activation.jar to my WEB-INF/lib directory (I got these jars from java.sun.com) and am still receiving a error message of: package javax.mail not found on import our domain name is coloradorealestatelocator.com can't figure out which machine it is on. . . . ed hubbard ehubbard@eosdesigns.com530.448.6792 Hi Folks, I've uploaded a new JavaMail wrapper and example Jsp, You can download it from http://lunarwarriors.com/jsp/Mail.warThis version allows for Authentication to be switched on and off, html based emails, multiple recipients (also CC & BCC). Please read/edit the sendmail.jsp before using. Note as usual this is not supported by Lunarpages, any questions must be directed to this forum.
|
|
|
|
« Last Edit: August 27, 2005, 10:52:59 PM by Danielle »
|
Logged
|
|
|
|
|
moilejterNotLoggedIn
Guest
|
 |
« Reply #11 on: April 26, 2005, 08:47:37 PM » |
|
Well - I ran into some trouble with my email web page, modeled on Kelvin's. To test things out, I am now using the exact same JavaMail wrapper and example JSP that Kelvin mentions, in a web app I set up in my own web site. But it seems to be broken  . When I try to use it, I get this error: Unable perform SMTP Send, Cause: javax.mail.SendFailedException: Invalid Addresses; nested exception is: class javax.mail.SendFailedException: 451 Temporary local problem - please try later I am pretty sure my email web page used to work, until late last week - but support tells me nothing has changed on mars that could affect this... Any ideas? Thank you! Moises
|
|
|
|
|
Logged
|
|
|
|
|
moilejterNotLoggedIn
Guest
|
 |
« Reply #12 on: April 26, 2005, 10:42:06 PM » |
|
It seems the problem had to do with the return address specified for the email. I used to use xyz@www.software-smiths.com (my site) - and I swear it used to work!  But changing that return email address to xyz@software-smiths.com (just the domain) fixed it. Thanks to tech support!  Moises
|
|
|
|
|
Logged
|
|
|
|
thepo2
Newbie
Offline
Posts: 1
|
 |
« Reply #13 on: August 22, 2005, 01:34:34 PM » |
|
The link to the .war file doesn't work. Can someone post a new link?
|
|
|
|
|
Logged
|
|
|
|
|
moilejter
|
 |
« Reply #14 on: August 26, 2005, 08:38:33 PM » |
|
With no promises, you can get a copy (I think it is a copy of the original Kelvin wrote) here: http://www.software-smiths.com/Mail.zipNotice this is not the original WAR file - just a copy of the expanded WAR, in ZIP form... Moises
|
|
|
|
|
Logged
|
|
|
|
|