In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how HTML works, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!
Method 1, right-click the HTML file directly, and finally, choose to use the notebook to open the file.
Method 2. Open it with Dreamweaver software, and you can edit the HTML file, so here are the specific steps
1. First download a Dreamweaver software, which can be downloaded on Baidu.
2. Installing the Dreamweaver software is the next step, and the next step is the installation.
3. Open the Dreamweaver software. Finally, open the HTML file in the software.
Answer: send an email in HTML format voID jButton8_actionPerFormed (ActionEvent e) {
Try
{/ / this code is used to send messages with HTML messages
Properties PRoPS=new Properties ()
Authenticator Auth=new EmAIl_Autherticator ()
PRoPS.put ("mAIl.smtp.host", host)
PRoPS.put ("mAIl.smtp.Auth", "true")
Session session=Session.getDefAultInstance (PRoPS,Auth)
MimeMessage message=new MimeMessage (session)
/ / set the message body
String HTMLtext= "hello" + "click me please!"
Message.setContent (HTMLtext, "text/HTML"); / / text/plAIn format the message in text/HTML format because it has an HTML document
Message.setSubject (mAIl_SUbject)
/ / message.setText (mAIl_body); it seems that message.setText () cannot be used when using message.setContent ()
Message.setHeader (mAIl_head_name,mAIl_head_value)
Message.setSentDate (new Date ())
Address address=new InternetAddress (mAIl_from, "SUnxiaoming")
Message.setFrom (address)
Address toAddress=new InternetAddress (mAIl_to)
Message.addRecipient (Message.RecipientType.TO,toAddress)
Transport.send (message)
System.out.PRintln ("send ok!")
}
Catch (Exception ex)
{
System.out.PRintln ("fAIld" + ex)
}
}
VoID jButton9_actionPerFormed (ActionEvent e) {
Try
{/ / this code is used to send an email with a picture
The above is all the contents of the article "how HTML works". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.