I haven't tried this myself, but it seems straight forward - for sending
mail, can you just instantiate and use the underlying java object? It looks
pretty self contained:
String msgBody = "...";
try {
Message msg = new MimeMessage(session);
msg.setFrom(new InternetAddress("[email protected]",
"Example.com Admin"));
msg.addRecipient(Message.RecipientType.TO,
new InternetAddress("[email protected]",
"Mr. User"));
msg.setSubject("Your Example.com account has been activated");
msg.setText(msgBody);
Transport.send(msg);
} catch (AddressException e) {
// ...
} catch (MessagingException e) {
// ...
}
(http://code.google.com/appengine/docs/java/mail/overview.html#Sending_Mail)
Baz
On Fri, Sep 23, 2011 at 8:27 AM, Dave Shuck <[email protected]> wrote:
> I should probably also clarify that I am speaking specifically with regard
> to the OpenBD Desktop tool. It is certainly possible that some of these
> things may have been covered in the nightly, but if so they haven't been
> added to the Desktop as it stands today. If I can get some time this
> afternoon, I will pull the nightly and see what's going on there. That
> said, I really like the way that the Desktop tool works, so I would *love*
> to see that stuff go in there.
>
>
>
> @dshuck
>
>
>
> On Fri, Sep 23, 2011 at 10:21 AM, Alex Skinner <[email protected]> wrote:
>
>> I agree that the XML Search is a real pain, regarding the mail support a
>> way around this might be to use a service like postmarkapp where you use a
>> REST api to send email.
>>
>> A
>>
>> On 23 September 2011 16:11, Dave Shuck <[email protected]> wrote:
>>
>>> There are currently a few items in the current GAE specific code that is
>>> making it essentially unusable to those of use that use frameworks. I know
>>> that the pricing changes of GAE set everyone off, and that is probably
>>> worthy of a separate discussion, but there are those of us (there are more
>>> than just me right? :) who still find this to be a good solution for
>>> putting out small sites for free. In each of these items I am listing
>>> below, my code used to work with earlier versions of OpenBD (pre-2011) but
>>> doesn't now. There may be other issues, but these to me are the most
>>> critical.
>>>
>>>
>>> - *No XmlSearch() method* - I was able to get around this by creating
>>> my own Java class and hacking it into my codebase. Two days ago in a
>>> separate email, I offered to add this to the project but no interest was
>>> generated.
>>>
>>> - *No CFTHREAD tag - *This is probably something that is debatable as
>>> to how important it is to others, but I am finding this to be a big
>>> problem
>>> for Mach-II specifically. There is a threading adapter specific to
>>> OpenBD (
>>> MachII.utils.threading.ThreadingAdapterBD.cfc) which blows up with a
>>> compile-time error since the tag doesn't exist.
>>>
>>> - *No CFMAIL tag* - While the other ones can be hacked around, this
>>> one is really a show stopper. For any site that has a contact form, user
>>> registration, or other 2-way communication with the users via mail,
>>> OpenBD
>>> is suddenly eliminated without implementing a custom Java solution.
>>>
>>> I would really like to continue using OpenBD on GAE, but as it stands
>>> now, it just isn't possible even for my relatively simple needs. I have
>>> seen discussions on the above on this list related to all of the items
>>> above, but nothing recent. I am by no means a rock star Java developer, but
>>> I would be willing to lend a hand and gain experience along the way if there
>>> is an area that I can help with. So, what can I do?
>>>
>>> @dshuck
>>>
>>> --
>>> official tag/function reference: http://openbd.org/manual/
>>> mailing list - http://groups.google.com/group/openbd?hl=en
>>>
>>
>>
>>
>> --
>> Alex Skinner
>> Managing Director
>> Pixl8 Interactive
>>
>> Tel: +448452600726
>> Email: [email protected]
>> Web: pixl8.co.uk
>>
>> --
>> official tag/function reference: http://openbd.org/manual/
>> mailing list - http://groups.google.com/group/openbd?hl=en
>>
>
> --
> official tag/function reference: http://openbd.org/manual/
> mailing list - http://groups.google.com/group/openbd?hl=en
>
--
official tag/function reference: http://openbd.org/manual/
mailing list - http://groups.google.com/group/openbd?hl=en