Re: JCA Custom Adapter for SMTP

Sivakumar Thyagarajan <[email protected]> Fri, 4 Jan 2008 15:10:22 +0530
Newsgroups gmane.comp.java.sun.connector
Message-ID <[email protected]>
Hi Mustafa

mcayci wrote:
> Hello Siva,
> 
> Thanks for the links.  I cannot seem to find the mail connector code in the
> download.  Perhaps it is a different link?

Did you click on the link for "Download J2EE 1.4 sample applications"? 
I don't think it is part of "Java EE 5 sample applications"
>>> You could find the mailconnector code by clicking on the "Download 
>>> J2EE 1.4 Sample Applications" link in
>>> http://java.sun.com/javaee/reference/code/index.jsp

I just tried this.
- clicked on 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2eesdk-1.4_04-samples-oth-JPR&SiteId=JSC&TransactionId=noreg
- unzipped j2eesdk-1_4_04-samples.zip
- and the mailconnector sources were available under 
j2ee14/connectors/apps/mailconnector

Thanks
--Siva.



> 
> Thanks,
> 
> Mustafa
> 
> Sivakumar Thyagarajan wrote:
>> mcayci wrote:
>>> Hello,
>>>
>>> I posted this question to forums.java.sun.com but did not get any
>>> replies. 
>>> I am trying to write a JCA custom adapter that makes outbound connection
>>> to
>>> an email server using SMTP protocol. 
>>>
>>> I have already looked at
>>> http://www.theserverside.com/tt/articles/article.tss?l=J2EE1_4.  However,
>>> the author was showing how to write a JCA adapter for inbound
>>> communication
>>> by using JCA 1.5.
>>>
>>> I would appreciate if anyone has any working sample code that can share
>>> with
>>> me.
>> There is a good technical article "Creating Resource Adapters with 
>> J2EE Connector Architecture 1.5" that tries to explain how a JavaMail 
>> resource adapter (both inbound and outbound) could be built.
>> http://developers.sun.com/appserver/reference/techart/resource_adapters.pdf
>>
>> You could find the mailconnector code by clicking on the "Download 
>> J2EE 1.4 Sample Applications" link in
>> http://java.sun.com/javaee/reference/code/index.jsp
>>
>> Thanks
>> --Siva.

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".