• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SMTPHost Setting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMTPHost Setting


  • Subject: Re: SMTPHost Setting
  • From: Kieran Kelleher <email@hidden>
  • Date: Mon, 11 Apr 2005 15:05:55 -0400

Project Wonder java mail will definitely save you time. Here is the quick start on setting up the bare minimum of Project Wonder to get java mail working with code examples:
http://homepage.mac.com/kelleherk/iblog/C183784902/E2093239404/ index.html


Regards, I hope this helps...

-Kieran
________________________________________________________________
Blog: http://webobjects.webhop.org/


On Apr 9, 2005, at 7:59 PM, John Bruce wrote:

If you want to save yourself some effort ERJavaMail from Project
Wonder is an implementation of JavaMail for WebObjects. AFAIK it
doesn't required the rest of PW.

Cheers,

John



On Apr 10, 2005 8:26 AM, Drew Thoeni <email@hidden> wrote:
I'm trying t implement javaMail and am getting pretty close. However, I
am getting an exception:

SendFailedException: javax.mail.MessagingException: Could not connect
to SMTP host: localhost, port: 25;
   nested exception is: java.net.ConnectException: Connection refused

The connection is being refused because I don't have a mail server set
up on my development machine. I'm trying setting the SMTP host using
one (or both) of the commands below, but it seems neither is recognized
by javaMail and it apparently defaults to localHost.

What is the difference between these two command and why doesn't
javaMail recognize either. WOMailDelivery boes recognizes
setSMTPHost(), but I'm trying to use BCC which WOMailDelivery does not
support.

Application.setSMTPHost("smtp.domain.com")

OR

Properties props = new Properties();
props.put("smtp.domain.com", "SMTP Host Name");

Regards,

Drew


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >SMTPHost Setting (From: Drew Thoeni <email@hidden>)
 >Re: SMTPHost Setting (From: John Bruce <email@hidden>)

  • Prev by Date: Re: OpenBase vs MySQL
  • Next by Date: Re: OpenBase vs MySQL
  • Previous by thread: Re: SMTPHost Setting
  • Next by thread: PDF Printer / Pasteboard Printer
  • Index(es):
    • Date
    • Thread