2019年10月30日 星期三

Save Emails and Attachments in mirth or google GAS ( Google Action Script)




1) https://www.youtube.com/watch?v=gdgCVqtcIw4 learn the basic (

Moayad Abu Rmilah)

2) modify Geek : https://www.splitbrain.org/blog/2017-01/30-save_gmail_attachments_to_google_drive


if have $$$ , can use below ,but limited to 15 min fetch email interval not match requirement.


3) Wohh .. can save the file . but next big thing to rename the pdf file by reading google drive pdf file meta data . like Corrective or Preventive Metadata as file name.

4) or some reason your file is not valid. Log the id After this line: var id = children[i].id; Add: Logger.log('id: ' + id) Run the code, then from the View menu, choose Logs. If there is no id or if there is no file with that id then the variable file may not be a valid file. – Alan Wells Jun 11 '18 at 15:54

ges and attachments from Gmail to Google Drive and Team Drives. Emails are archived a

Step 5) due to office outlook 365 cannot forward email to outsider domain. email cannot auto send to gmail.

Remark) by search : https://stackoverflow.com/questions/34837707/how-to-extract-text-from-a-pdf-file

found http://www.xpdfreader.com/pdftotext-man.html is a good windows tool from pdf to text.

Step 6) decide using mirth , run external cmd .create text meta data content. txt

            Use mirth read and rename the file by using meta data text file content.

            link : https://github.com/nextgenhealthcare/connect-examples/tree/master/Code%20Templates/Execute%20Runtime%20Command




11:55 AM 11/2/2019 update : 

Why PDF is complicated in Mirth


來源網站:https://digitalinspiration.com

https://chrome.google.com/webstore/detail/save-emails-and-attachmen/nflmnfjphdbeagnilbihcodcophecebc

ownload and backup email messages and attachments from Gmail to Google Drive and Team Drives. Emails are archived as PDF files.
Save Emails is an email backup and archiving add-on for Gmail that lets you automatically download email messages and file attachments from Gmail to Google Drive. You can also save Gmail messages in  shared Team Drives.

The email threads are converted into high-quality print-ready PDF files while the file attachments are saved to Google Drive in their original native format.

You can use the Gmail archiver to backup important emails, video files,  timesheets, photos, Microsoft Office documents, travel receipts, expenses and other emails easily from Gmail to your Google Drive. It works with Gmail, Google Inbox and G Suite (Google Apps) accounts.

Check the help manual at https://digitalinspiration.com/docs/GA02 to know more about capabilities of Save Emails addon.

Attorneys have used Save Emails to download and print all email correspondence related to a litigation with few clicks. Teachers can download student assignments in respective student folders automatically. Corporate users can save Uber receipts for claiming expenses. Sellers can archive PayPal invoices and payment receipts as PDFs.

The program runs in the background, once every hour, but you also have an option to run the rules manually. Go to Add-ons > Saves Emails and Attachments > Manage Rules and select any rule from the dropdown to download the matching emails.

How to Use Save Emails
----------------------

To get started, use the built-in wizard to create a rule and any email messages in Gmail that matches this rule will be automatically saved to a specific folder in your Google Drive. You can organize the saved emails in date-based sub folders to avoid cluttering the main folder.

Unlike email automation solutions like IFTTT or Zapier only work on new and incoming messages, the Save Emails add-on can also download old emails to your Google Drive. All the activity is logged inside a Google Spreadsheet for quick search and reference.

For instance, you can have a rule where emails from Expedia and Trip Advisor are automatically saved to the Travel folder in your Google Drive. Or a rule where all emails with "backup" in the subject line are saved to the project folder in Google Drive. If you are running out of space in your Gmail account, you can setup a rule for message size and all emails with large attachments are saved to Drive.

Advanced Uses
-------------

You can customize the file names of saved emails and attachments with variables. For instance, you can set the attachment name as {{Sender}} {{Subject}} to include the sender's name and the email subject in the attachment file name.

You can also choose to overwrite files in Google Drive if an attachment with a similar name already exists in the same folder. Google Drive allows you to have multiple files with a similar name in the same folder.

Free vs Premium
---------------

The add-on is free and fully functional. Premium version includes several extract features including:

1. Create an unlimited number of rules for downloading Gmail messages to Google Drive.
2. Emails are saved every 15 minutes while the free edition downloads emails once every hour.
3. Rename PDF files and email attachments based on the email subject, sender or date.
4. Save emails in separate folders based on the email headers.
5. Skip downloading smaller files.
6. Allow or disallow saving of file attachments of specific types.
7. Overwrite existing Google Drive files (useful for keeping a single copy of disk backups)
8. Specify your own custom formats for printing dates in PDF files.
9. Save PDF files in your own Drive folder or a Team Drive folder owned by another user in the organization.
10. Download files and email in Google Team Drive folders.

 -----------
 Resources
 -----------

To upgrade to premium, go to Add-ons menu - Save Emails - Upgrade to Premium.

* Help Manual - https://digitalinspiration.com/docs/GA02

* Premium Upgrade - https://digitalinspiration.com/GA02

* Email Support - https://digitalinspiration.com/support

* Video tutorial: http://youtu.be/JfyfqM5Ww8k



Geek : https://www.splitbrain.org/blog/2017-01/30-save_gmail_attachments_to_google_drive

2019年10月24日 星期四

mbssid ap 是什么意思?

mbssid ap 是什么意思?
chenzhijun8
推荐于2017-09-21

MBSSID AP 隔离:基于无线MAC地址的访问控制功能,启用此功能后,连接到同一SSID的无线客户端之间不能互相访问。

例如:

设置路由器的主SSID与次SSID分别为AP1、AP2,计算机PC1、PC2使用无线网卡都连接到AP1,PC3、PC4连接到AP2。启用MBSSID AP隔离功能后,PC1、PC2将不能互相通信,但可以与连接到AP2的无线客户端进行通信,同理PC3、PC4也不能相互通信,但能和AP1上的客户端进行通信。此功能实现连接到同一SSID的无线客户端通讯隔离。

AP 隔离:基于SSID的访问控制功能,连接到主SSID与次SSID的无线客户端之间不能互相访问,使用此功能可以进一步增强无线网络安全。

例如:

设置路由器主SSID、次SSID分别为AP1、AP2后,PC1通过无线网卡连接到AP1,PC2通过无线网卡连接到AP2后,启用此功能后,两台PC之间就不能相互通信。此功能实现连接到不同SSID的无线客户端通讯隔离。

如果要实现连接到AP上所有的无线客户端之间的通讯隔离功能,请同时启用MBSSID AP隔离、AP隔离功能。