WOMailDelivery

WOMailDelivery.sharedInstance().composePlainTextEmail(String aSender,NSArray 
toAddresses,NSArray bccAddresses,String aSubject,String aMessage,boolean 
sendNow)


ERJavaMail

er.javamail.ERMailDeliveryPlainText mail = new 
er.javamail.ERMailDeliveryPlainText ();
mail.newMail();
mail.setFromAddress(aSender);
mail.setSubject(aSubject);
mail.setToAddresses(toAddresses);
mail.setTextContent(aMessage);
mail.sendMail();


On 16/12/2010, at 8:05 AM, Jesse Tayler wrote:

> ah, well, I _thought_ I was using ERJavaMail...
> 
> I think I was looking at the BugTracker app for implementation --
> 
> did I misunderstand?
> 
> should I be using another method construct to actually do things like send 
> notifications?
> 
> I'm just setting up the usual "welcome" emails and notifications typical of 
> social systems.
> 
> I figure I'll trigger these emails based on changes in EO attributes which 
> would be my next step from here.
> 
> Suggestions?
> 
> On Dec 15, 2010, at 5:01 PM, D Tim Cummings wrote:
> 
>> setSMTPHost() sets the host for WOMailDelivery.  There is also a launch 
>> argument "-WOSMTPHost hostname" or property WOSMTPHost=hostname
>> 
>> er.javamail.smtpHost is used for ERJavaMail which is a better way of sending 
>> emails but sounds like it is not what you are using.
>> 
>> Tim
>> 
>> On 16/12/2010, at 7:30 AM, Jesse Tayler wrote:
>> 
>>> well, I can set the application's setSMTPHost() method at launch which will 
>>> point to the server, but still doesn't seem to read the properties where I 
>>> ask for authentication etc.
>>> 
>>> I can see the properties file is being used by some packages, so I wonder 
>>> why these rules don't seem to want to stick.
>>> 
>>> I don't know how to print out those properties at launch as you suggest, 
>>> but maybe it's a good idea to figure. Do you know a method call that 
>>> reports what the app is using for properties?
>>> 
>>> 
>>> On Dec 15, 2010, at 4:09 PM, Farrukh Ijaz wrote:
>>> 
>>>> We don't use er.javamail.smtpHost property and it works for us.
>>>> 
>>>> nslookup resolves both oeinc.com and mail.oeinc.com with same IP and 
>>>> telnet on port 25 is working.
>>>> 
>>>> Try log the properties in your applications' didFinishLaunching() method 
>>>> and inspect what are the values. (You can also look at the console as it 
>>>> spits complete properties list).
>>>> 
>>>> Farrukh
>>>> 
>>>> On 2010-12-15, at 11:56 PM, Jesse Tayler wrote:
>>>> 
>>>>> hmm -- good idea, I was not aware of those
>>>>> 
>>>>> however, I get the same error even after listing my host and port 25 I 
>>>>> think, same error anyway
>>>>> 
>>>>> checking around on example apps, I see similar configurations, but all to 
>>>>> fake domains of course.
>>>>> 
>>>>> sure seems simple enough, if I'm interpreting the error correctly anyway 
>>>>> --
>>>>> 
>>>>> On Dec 15, 2010, at 3:47 PM, Farrukh Ijaz wrote:
>>>>> 
>>>>>> Dis you try setting following properties as well?
>>>>>> 
>>>>>> mail.smtp.host
>>>>>> mail.smtp.port
>>>>> 
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be ignored.
>>>>> Webobjects-dev mailing list      ([email protected])
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com
>>>>> 
>>>>> This email sent to [email protected]
>>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au
>>> 
>>> This email sent to [email protected]
>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to