Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
the misidentification was missing. the following works properly. public void sendingnow() throws UnsupportedEncodingException{ Properties props = System.getProperties(); props.put("mail.smtp.host", "smtp.live.com"); props.put("mail.smtp.port",

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
i got this now: public void sendingnow2() throws UnsupportedEncodingException{ String host = "smtp.live.com"; String port = "587"; Properties props = new Properties(); props.put("mail.smtp.host", host); props.

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread Jens
TLS is the further development of SSL. To tell JavaMail to issue a STARTTLS command you could set mail.smtp.starttls.enable to true (see: http://javamail.kenai.com/javadocs/com/sun/mail/smtp/package-summary.html) or use an instance of SMTPTransport and call smtpTransport.setStartTLS(true) (see

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
now i did this. --- public void sendingnow2() throws UnsupportedEncodingException{ String host = "smtp.live.com"; String port = "587"; Properties props = new Properties(); props.put("mail.smtp.host", host); pr

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
i cant edit my message right :D ? ... where can i set the smpt server in my code? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, se

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
mtp.live.com (STARTTLS; Port 587) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googl

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
for hotmail i got this: smtp.live.com -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@

Re: How to send an Email with GWT to a specific Address?

2011-03-20 Thread antrox
did someone made it? i dont know and i cant find something about "HOTMAIL" :/ are there settings for another provider which are working? regards On 19 Mrz., 19:45, FrugoFrog wrote: > It's your mail server setting I guess > > http://www.oracle.com/technetwork/java/faq-135477.html#connectionrefus

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread FrugoFrog
It's your mail server setting I guess http://www.oracle.com/technetwork/java/faq-135477.html#connectionrefused http://www.coderanch.com/t/271167/java/java/JavaMail-connection-refused good luck 2011/3/19 antrox : > here some more information about the exception > > it seems to be that "localhost"

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread antrox
here some more information about the exception it seems to be that "localhost" shouldnt be there right? i am running it with eclipse currently. System.out.println(e.getMessage()); . ... Send failure (javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25 (jav

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread antrox
here my properties now http://www.student.uni-oldenburg.de/piotr.listewnik/mail/mail2_prop.png -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from t

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread antrox
thx for advice, now i get another exception. code now on this pic http://www.student.uni-oldenburg.de/piotr.listewnik/mail/mail1.png i got now a "MessagingException", the jars should be at the correct place now i guess. regards On 19 Mrz., 10:31, FrugoFrog wrote: > Do you have mail and activa

Re: How to send an Email with GWT to a specific Address?

2011-03-19 Thread FrugoFrog
Do you have mail and activation jars in WEB-INF/lib ? 2011/3/18 antrox : > Hello, > > this is what i tried for testing only. > > have a look please, pretty simple i guess. > > I made a Button which performs this: > >        public void sendmail(){ >                rpcService.sendingnow(new AsyncCa

Re: How to send an Email with GWT to a specific Address?

2011-03-18 Thread antrox
Hello, this is what i tried for testing only. have a look please, pretty simple i guess. I made a Button which performs this: public void sendmail(){ rpcService.sendingnow(new AsyncCallback() { public void onSuccess(Boolean result) {

Re: How to send an Email with GWT to a specific Address?

2011-03-13 Thread wingdings
To send an email message, an app prepares a MimeMessage object, then sends it with the static method send() on the Transport class. The message is created using a JavaMail Session object. The Session and the Transport work with the App Engine Mail service without any additional configuration. i

Re: How to send an Email with GWT to a specific Address?

2011-03-13 Thread Juan Pablo Gardella
It depends. For example if you put your app in an application container, you can configure it in the server and in your app take it via jndi. Always depend. Check in this url: http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274

Re: How to send an Email with GWT to a specific Address?

2011-03-12 Thread antrox
This example if fully working? I dont understand how it works to be honest. Where is the SMPT Server set up? And there is no password required? antrox On 11 Mrz., 14:46, Juan Pablo Gardella wrote: > An example to send a > email:http://www.javapractices.com/topic/TopicAction.do?Id=144 > >

Re: How to send an Email with GWT to a specific Address?

2011-03-12 Thread antrox
This example if fully working? I dont understand how it works to be honest. Where is the SMPT Server set up? And there is no password required? antrox On 11 Mrz., 14:46, Juan Pablo Gardella wrote: > An example to send a > email:http://www.javapractices.com/topic/TopicAction.do?Id=144 > >

Re: How to send an Email with GWT to a specific Address?

2011-03-11 Thread Juan Pablo Gardella
An example to send a email: http://www.javapractices.com/topic/TopicAction.do?Id=144 Spring is a framework: http://www.springsource.org/about Juan 2011/3/11 antrox > what is "Spring"? > > and what do u mean with "MailProvider"? Another

Re: How to send an Email with GWT to a specific Address?

2011-03-11 Thread antrox
what is "Spring"? and what do u mean with "MailProvider"? Another API? antrox On 11 Mrz., 14:25, Juan Pablo Gardella wrote: > If you use Spring you can use MailProvider. > > Juan > > 2011/3/11 antrox > > > > > Hello, > > > yes, i know how to save the data into an arraylist and send it to the >

Re: How to send an Email with GWT to a specific Address?

2011-03-11 Thread Juan Pablo Gardella
If you use Spring you can use MailProvider. Juan 2011/3/11 antrox > Hello, > > yes, i know how to save the data into an arraylist and send it to the > server via RPC calls. > > so, there is an Mail Java API :). Sounds fine, i will have a look. > > OR is there something written which works alrea

Re: How to send an Email with GWT to a specific Address?

2011-03-11 Thread antrox
Hello, yes, i know how to save the data into an arraylist and send it to the server via RPC calls. so, there is an Mail Java API :). Sounds fine, i will have a look. OR is there something written which works already? where i just have to put my text into it :)`? i hope u understood me. regards

Re: How to send an Email with GWT to a specific Address?

2011-03-10 Thread Juan Pablo Gardella
Can make a rpc call? If yes do in plain Java in the server side. Juan 2011/3/10 antrox > Hello Guys, > > i wanted to make a small webshop and how can i send an email with GWT > to specific Address? > > I wanted to write some TEXT into an ArrayList and then generate from > the ArrayList an Email

Re: How to send an Email with GWT to a specific Address?

2011-03-10 Thread GregD
Any mail sending has to happen on the server side. Which means sending teh mail is done using teh Java Mail API, not anything in GWT (other than using RPC to send your message to the server to be mailed). Greg On Mar 10, 2:28 pm, antrox wrote: > Hello Guys, > > i wanted to make a small webshop

How to send an Email with GWT to a specific Address?

2011-03-10 Thread antrox
Hello Guys, i wanted to make a small webshop and how can i send an email with GWT to specific Address? I wanted to write some TEXT into an ArrayList and then generate from the ArrayList an Email which should be sent to a specific mailadress. kind regards -- You received this message because yo