agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Javamail within pljava : javax.mail.NoSuchProviderException: No provider for smtp
Date: Sat, 02 Jun 2012 14:48:31 -0700
Message-ID: <04BAB30F-4328-4069-A340-9FD7639DE10C@me.com> (raw)
In-Reply-To: <CA+WUh=zBO=QP9s2Pt1f=4ARYjms7pu9tXPFxkOqWez70Lq_eNQ@mail.gmail.com>
References: <CA+WUh=zBO=QP9s2Pt1f=4ARYjms7pu9tXPFxkOqWez70Lq_eNQ@mail.gmail.com>

I assume that you'll have to ensure that your mail provider is installed.  See, for example:
	http://www.oracle.com/technetwork/java/faq-135477.html#install

On Jun 2, 2012, at 2:38 PM, Herbrand Hofker wrote:

> I  try to use javamail within pljava.
> In normal java environment my program works fine.
> But if I do it in pljava I get:
> 
> 
> MessagingException :javax.mail.NoSuchProviderException: No provider for smtp
> 	at javax.mail.Session.getProvider(Session.java:464)
> 	at javax.mail.Session.getTransport(Session.java:659)
> 	at javax.mail.Session.getTransport(Session.java:640)
> 	sendMail(sendMail.java:134)
> 
> Does anyone having experience with Javamail within pljava?
> 
> Herbrand Hofker
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pljava-dev





view thread (5+ messages)  latest in thread

Message-ID: <04BAB30F-4328-4069-A340-9FD7639DE10C@me.com>
Permalink:  ../04BAB30F-4328-4069-A340-9FD7639DE10C@me.com/
Also on:    postgresql.org/message-id/04BAB30F-4328-4069-A340-9FD7639DE10C@me.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Javamail within pljava : javax.mail.NoSuchProviderException: No provider for smtp
  In-Reply-To: <04BAB30F-4328-4069-A340-9FD7639DE10C@me.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox