资源描述:
《javamail开发手册new》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、FundamentalsoftheJavaMailAPIPresentedbydeveloperWorks,yoursourceforgreattutorialsibm.com/developerWorksTableofContentsIfyou'reviewingthisdocumentonline,youcanclickanyofthetopicsbelowtolinkdirectlytothatsection.1.Tutorialtips22.IntroducingtheJavaMailAPI33.Reviewingre
2、latedprotocols44.InstallingJavaMail65.Reviewingthecoreclasses86.UsingtheJavaMailAPI137.SearchingwithSearchTerm218.Exercises229.Wrapup32FundamentalsoftheJavaMailAPIPage1PresentedbydeveloperWorks,yoursourceforgreattutorialsibm.com/developerWorksSection1.TutorialtipsSh
3、ouldItakethistutorial?Lookingtoincorporatemailfacilitiesintoyourplatform-independentJavasolutions?LooknofurtherthantheJavaMailAPI,whichoffersaprotocol-independentmodelforworkingwithIMAP,POP,SMTP,MIME,andallthoseotherInternet-relatedmessagingprotocols.Withthehelpofth
4、eJavaBeansActivationFramework(JAF),yourapplicationscannowbemail-enabledthroughtheJavaMailAPI.ConceptsAftercompletingthismoduleyouwillunderstandthe:*BasicsoftheInternetmailprotocolsSMTP,POP3,IMAP,andMIME*ArchitectureoftheJavaMailframework*ConnectionsbetweentheJavaMai
5、lAPIandtheJavaBeansActivationFrameworkObjectivesBytheendofthismoduleyouwillbeableto:*SendandreadmailusingtheJavaMailAPI*Dealwithsendingandreceivingattachments*WorkwithHTMLmessages*UsesearchtermstosearchformessagesPrerequisitesInstructionsonhowtodownloadandinstallthe
6、JavaMailAPIarecontainedinthecourse.Inaddition,youwillneedadevelopmentenvironmentsuchastheJDK1.1.6+ortheJava2Platform,StandardEdition(J2SE)1.2.xor1.3.x.Ageneralfamiliaritywithobject-orientedprogrammingconceptsandtheJavaprogramminglanguageisnecessary.TheJavalanguagees
7、sentialstutorialcanhelp.copyright1996-2000MagelangInstitutedbajGuruContactjGuruhasbeendedicatedtopromotingthegrowthoftheJavatechnologycommunitythroughevangelism,education,andsoftwaresince1995.Youcanfindoutmoreabouttheiractivities,includingtheirhugecollectionofFAQsat
8、jGuru.com.TosendfeedbacktojGuruaboutthiscourse,sendmailtoproducer@jguru.com.Courseauthor:FormerlywithjGuru.com,JohnZukowskidoesstrategicJa