IMAP
Net Bako edited this page Sep 19, 2019
·
1 revision
Get IMAP Mail Messages Activityを利用するとGmailなどのIMAPをサポートするメールサーバーからメッセージを読み込むことができます。 しかしHTMLとText形式毎に保管場所が異なり若干複雑な処理が必要になります。
- Gmailの接続情報
"IMAP Server" : "imap.gmail.com",
"IMAP Port" : 993,
"SMTP Server" : "smtp.gmail.com",
"SMTP Port" : 465,
for eachで各Collectionを読み取ったらifでHTMLをチェックする
for each mail in MailMessage
if IsBodyHtml then
sMailBody = System.Text.RegularExpressions.Regex.Replace(mail.Headers(“HTMLBody”),"(<.*?>)|({.*})|(.*[}\)--{;]\s?\r\n)|(\r?\n@.*)|(.*[}{;]$)",String.Empty).Trim
else
sMailBody = System.Text.RegularExpressions.Regex.Replace(mail.Body,"(<.*?>)|({.*})|(.*[}\)--{;]\s?\r\n)|(\r?\n@.*)|(.*[}{;]$)",String.Empty).Trim
end if
VBA形式で書きましたが、Sampleのxamlは後でリンクを入れときます。
- UiPath Study (Ko)
- UiPath Study (Ja)
- Go to giip service Page : http://giipweb.littleworld.net
- Documentation : https://github.com/LowyShin/giip/wiki
- Sample automation scripts : https://github.com/LowyShin/giip/tree/gh-pages/giipscripts
See more : https://github.com/LowyShin/giip/wiki
- Token exchanges : https://tokenjar.io/GIIP
- Token exchanges manual : https://www.slideshare.net/LowyShin/giipentokenjario-giip-token-trade-manual-20190416-141149519
- GIIP Token Etherscan : https://etherscan.io/token/0x33be026eff080859eb9dfff6029232b094732c52
If you want get GIIP, contact us any time!
Other Languages