javax.mail

2004-02-11 Thread Duncan Smith
Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself if a particular problem occurs on the server. My code seems to work but, but it does not use the smtp server which I am specifying. I cannot find

RE: javax.mail

2004-02-11 Thread Yiannis Mavroukakis
. Yiannis -Original Message- From: Duncan Smith [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 17:18 To: Tomcat User List Subject: javax.mail Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself

Re: javax.mail

2004-02-11 Thread Dwayne Ghant
You don't need a SMTP server to send mail . Technically speaking the protocol it self does the sending and not the server. Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself

Re: javax.mail

2004-02-11 Thread Jerry Ford
Just a guess here, but have you tried using a fully qualified domain name for the host, as mysmtphost.mydomain.com? Jerry Duncan Smith wrote: Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself

AW: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Ralph Einfeldt
even allow to custumize the template for this mail) -Ursprüngliche Nachricht- Von: Kunal Shah [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 10. Oktober 2002 08:16 An: tomcat user Betreff: RE: How to validate email address in JSP by using javax.mail? suppose there is an domain

AW: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Ralph Einfeldt
Eaves [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 10. Oktober 2002 08:22 An: Tomcat Users List Betreff: Re: How to validate email address in JSP by using javax.mail? The short answer is, send an email to that address with a magic number in it. Tell the user to go somewhere and use

RE: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Kunal Shah
-Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 12:05 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: AW: How to validate email address in JSP by using javax.mail? You can't do much, as you won't get a direct feedback. Typically

Re: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Steven J. Owens
On Thu, Oct 10, 2002 at 11:46:20AM +0530, Kunal Shah wrote: suppose there is an domain xyz.com accepting mails for its user say there are a, b and c users and administrator which will recieve mails for unresolve members i am sending one mail at [EMAIL PROTECTED] dummy is not valid mailbox

Re: AW: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Jon Eaves
Hi Ralph, (and others) Ralph Einfeldt wrote: But keep in mind that this isn't completly safe, as you won't know if the address really exists or the administrator (the fallback receiver) acted as the receiver. If the administrator isn't the person who initiated the transaction, he's going

RE: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Kunal Shah
:19 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: How to validate email address in JSP by using javax.mail? On Thu, Oct 10, 2002 at 11:46:20AM +0530, Kunal Shah wrote: suppose there is an domain xyz.com accepting mails for its user say there are a, b and c users

AW: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Ralph Einfeldt
: Kunal Shah [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 10. Oktober 2002 08:50 An: Tomcat Users List Betreff: RE: How to validate email address in JSP by using javax.mail? hummm that means you should load the server for checking validity of email address by sending a mail to the address

RE: How to validate email address in JSP by using javax.mail?

2002-10-10 Thread Turner, John
As far as I know, there's nothing that can be done on the sending side. John -Original Message- From: Kunal Shah [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 2:16 AM To: tomcat user Subject: RE: How to validate email address in JSP by using javax.mail? suppose

How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
Hi, How to validate email address in JSP by using javax.mail? Thanks, Jack Li

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
, with nothing to do with javax.mail. You can always try and send the message, then look for SendFailedException, but you'd have to do the send first. John -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 9:54 AM To: '[EMAIL PROTECTED

AW: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Ralph Einfeldt
at: http://www.xbill.org/dnsjava/ -Ursprüngliche Nachricht- Von: Turner, John [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 16:03 An: 'Tomcat Users List' Betreff: RE: How to validate email address in JSP by using javax.mail? Typically, there is no way to validate

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
Users List Subject: AW: How to validate email address in JSP by using javax.mail? Not completly true. You can use JavaMail to check the syntax of the address against RFC822. (at least a subset of it) The constructor of javax.mail.internet.InternetAddress will throw a ParseException

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jack Li
to validate email address in JSP by using javax.mail? Typically, there is no way to validate an email address. For various reasons, any mail administrator with half a brain turns off the VRFY command on their mailserver, which is the only 100% guaranteed way to validate an email address without sending

Re: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Catalin Constantin
To: '[EMAIL PROTECTED]' Sent: Wednesday, October 09, 2002 3:53 PM Subject: How to validate email address in JSP by using javax.mail? Hi, How to validate email address in JSP by using javax.mail? Thanks, Jack Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
would want to fix it in either case. John -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 10:28 AM To: 'Tomcat Users List' Subject: RE: How to validate email address in JSP by using javax.mail? Thanks, John. I see what you mean. But we

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Turner, John
javax.mail? you could use a small java code and do the validation via regexp here is a DEMO: import java.lang.*; import java.util.*; import org.apache.oro.text.regex.*; public final class isEmail { public static boolean check(String email) { PatternMatcher matcher

AW: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Ralph Einfeldt
As I said, it's just a syntactical check. -Ursprüngliche Nachricht- Von: Turner, John [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 9. Oktober 2002 16:27 An: 'Tomcat Users List' Betreff: RE: How to validate email address in JSP by using javax.mail? Cool, thanks for the tip

Re: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Catalin
To: '[EMAIL PROTECTED]' Sent: Wednesday, October 09, 2002 3:53 PM Subject: How to validate email address in JSP by using javax.mail? Hi, How to validate email address in JSP by using javax.mail? Thanks, Jack Li -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

RE: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Kunal Shah
there will be not send fail exception. what should be done in this case ? --kunal -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 7:33 PM To: 'Tomcat Users List' Subject: RE: How to validate email address in JSP by using javax.mail

Re: How to validate email address in JSP by using javax.mail?

2002-10-09 Thread Jon Eaves
be done in this case ? --kunal -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 7:33 PM To: 'Tomcat Users List' Subject: RE: How to validate email address in JSP by using javax.mail? [ big snip ] -- Jon Eaves [EMAIL PROTECTED] http

Re: RES: importing javax.mail.* from within JSP servlets

2000-12-07 Thread Craig R. McClanahan
"Jose Euclides da Silva Junior - DIGR.O" wrote: Hi Craiq, what do you about using java mail api to upload a multipart-form/data into a JSP or servlet? Thanks Craiq The JavaMail API itself doesn't do everything you need to deal with uploaded files. You should try Jason Hunter's library

RES: importing javax.mail.* from within JSP servlets

2000-12-05 Thread Jose Euclides da Silva Junior - DIGR.O
-Mensagem original- De: Craig R. McClanahan [SMTP:[EMAIL PROTECTED]] Enviada em: Segunda-feira, 27 de Novembro de 2000 21:22 Para: [EMAIL PROTECTED] Assunto: Re: importing javax.mail.* from within JSP servlets Giorgio Brajnik wrote: Hi. I'm

importing javax.mail.* from within JSP servlets

2000-11-29 Thread Giorgio Brajnik
I'm using tomcat3.1+apache and jdk1.3.0_01 on linux redhat 6.2. I'm not using j2ee but usually (i.e. outside servlets) import its packages. I'm trying to write a jsp that imports javax.mail.* (from j2ee.jar) but jasper complains with "Package javax.mail not found in import. import javax

RES: importing javax.mail.* from within JSP servlets

2000-11-29 Thread Jose Euclides da Silva Junior - DIGR.O
, at least i live as i believe. - -Mensagem original- De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Enviada em: Quarta-feira, 29 de Novembro de 2000 10:21 Para: [EMAIL PROTECTED] Assunto:importing javax.mail.* from within JSP servlets I'm using

importing javax.mail.* from within JSP servlets

2000-11-27 Thread Giorgio Brajnik
Hi. I'm trying to write a jsp that imports javax.mail.* but jasper complains with "Package javax.mail not found in import. import javax.mail.*;" I tried to put the i2ee.jar file almost everywhere, including /tomcat/lib my_application_context/lib /usr/java/jdk1.

Re: importing javax.mail.* from within JSP servlets

2000-11-27 Thread Craig R. McClanahan
Giorgio Brajnik wrote: Hi. I'm trying to write a jsp that imports javax.mail.* but jasper complains with "Package javax.mail not found in import. import javax.mail.*;" I tried to put the i2ee.jar file almost everywhere, including What is the "i2ee.jar" file, and