当前位置:网站首页>How to send and receive reports through outlook in FastReport VCL?
How to send and receive reports through outlook in FastReport VCL?
2022-07-28 04:59:00 【Yamacheng manong first brother】
This article will introduce FastReport VCL How to be in FastReport VCL Pass through Outlook Send and receive reports .
FastReport VCL Download the official version 
In this paper , You will learn about a new transport subcategory , This subcategory is in 2022.2.7 Available in version , be called “ Mail transfer ”. Now it includes 2 A component , You can visit Gmail and Outlook.
Mail transmission has the following functions :
- Save and load reports ;
- Save the export results .
Saving means sending email . Uploading involves using the file attached to the letter , Letters can belong to any mail category ( inbox / Has been sent / Draft, etc ).
Transportation status
FastReport Have what is called “ transmission ” The components of . They need access :
- Cloud storage (Dropbox、OneDrive、Box.com、Google.Drive、Yandex.Disk);
- FTP The server ;
- E-mail ( Send messages only );
- The mail service (Gmail、Outlook).
Cloud storage and FTP The server supports the following functions :
- Save and load reports ;
- Save the export results ;
- Use files when building reports ( for example , picture ).
Add the transport to the application and its settings 
You can use the context menu on the component —— This will establish a connection directly from the development environment . single click “ Edit connection ” Sub menu .
Listening port . By default , The transmission only responds from the use port 9898 Authorization response of browser . If this port is already in use or you plan to use it in the future ,FastReport VCL Allows you to set ListenerPort Property to change the port .
Besides , We will use port by default 9898. Now let's look at the connection steps of mail transmission . Users do not need to perform all the following steps to authorize each time . This setting is only completed once by the cloud service administrator . After all the steps , The obtained authorization data can be used by other users .
- go to Embarcadero Rad Studio And expand “FastReport VCL Internet transports” tab .
- Select the required components and add them to the application form .
Connect to Outlook
When the user wants to use the transfer to open ( Or save ) The report ( Or export the results ) when , He will see the standard login dialog ( If he has not logged in before ).

To enter the connection settings page , Please click the question mark in the upper right corner of the authorization window . This will use Azure The application management page opens the default browser . If the user is not Azure Authorized in , An authorization page will open , You need to log in to your Azure account .
If this account has never been created before Azure Applications , Then the first step will be to create a new application .

First , You need to create a new application . single click “ Register application ” Button .

here , You must enter the application name , Select a supported account type , And fill in the redirection URI.
For easy setup , stay “ Supported account types ” Properties of the , Choose the third “ Any organization Directory ( whatever Azure AD Catalog - multi-tenancy ) And personal Microsoft account ( for example Skype、Xbox) Account in ”. You can do this by clicking “ Help me choose ...” Read more about this .
If you want to use a standard port , Please redirect URI Enter... In the field “http://localhost:9898”.
single click “ register ” Button . Our application will be successfully created .

take “Client ID” Copy the value of the field to FastReport VCL Authorization dialog . open “ Certificates and confidentiality ” part .

single click “ New client password ”.

Enter the description and select the expiration date of the code . Click on “ add to ”.

take “Value” Copied to the FastReport VCL Authorization dialog box .

single click “ determine ”. A new browser window will open , You are required to login to your account .

After authorization, click “ yes ”.

This completes the successful connection setup . Now you know how to FastReport VCL Connect to Outlook.
The future of mail transportation
In terms of function , Cloud transport supports all the functions mentioned above . The graphic design of mail transportation during loading will be improved in further versions . up to now , Graphical user interface (GUI) Used as cloud storage . Now? , Categories and messages are implemented as folders , Attachments are implemented as files .
future , Plan to improve graphic components , Make it more user friendly . Functional improvements will include email search . Send message window GUI It will also change slightly .

If the export generates multiple files , Then each file will be sent in its own email . in other words , If you want to send the export results page by page PNG, Then each picture will be sent in a separate email .
Almost all arrive FastReport VCL All exports of only generate 1 Output files (PDF、DOCX、RTF etc. ), Most users will not notice this .
This time FastReport Use the tutorial About how to be in FastReport VCL Pass through Outlook That's all for sending and receiving reports , In the next section, we will introduce how to FastReport VCL Pass through Gmail Send and receive reports .
边栏推荐
- Is low code the future of development? On low code platform
- Can plastics comply with gb/t 2408 - Determination of flammability
- POJ 3728 the merchant (online query + double LCA)
- CPU and memory usage are too high. How to modify RTSP round robin detection parameters to reduce server consumption?
- POJ 3417 network (lca+ differential on tree)
- Clickhouse填坑记2:Join条件不支持大于、小于等非等式判断
- Analyze the emotional elements contained in intelligent sweeping robot
- Mysql database -- first knowledge database
- What tools do software testers need to know?
- HDU 3592 World Exhibition (differential constraint)
猜你喜欢

如何在 FastReport VCL 中通过 Outlook 发送和接收报告?

Simulink automatically generates STM32 code details

Check box error
![String 0123456789abcdef, what is the number of substrings (not empty and not the same string itself) [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]](/img/78/efe3d70a4bfe8ac0c9b58b54d02b00.png)
String 0123456789abcdef, what is the number of substrings (not empty and not the same string itself) [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]

Is low code the future of development? On low code platform

Installing MySQL under Linux

Visual studio 2019 new OpenGL project does not need to reconfigure the environment

Machine learning and deep learning -- normalization processing

Artificial intelligence and RPA technology application (I) -rpa Hongji product introduction, designer interface function explanation
![[function document] torch Histc and paddle Histogram and numpy.histogram](/img/ee/ea918f79dc659369fde5394b333226.png)
[function document] torch Histc and paddle Histogram and numpy.histogram
随机推荐
Look at the experience of n-year software testing summarized by people who came over the test
Method of converting UI file to py file
(2.4) [service Trojan -slimftp] introduction and use
动态sql和分页
Test report don't step on the pit
FPGA: use PWM wave to control LED brightness
String 0123456789abcdef, what is the number of substrings (not empty and not the same string itself) [Hangzhou multi tester] [Hangzhou multi tester _ Wang Sir]
Dcgan:deep volume general adaptive networks -- paper analysis
Histogram of pyplot module of Matplotlib (hist(): basic parameter, return value)
set与list性能对比
Array or object, date operation
[high CPU consumption] software_ reporter_ tool.exe
[daily one] visual studio2015 installation in ancient times
linux下安装mysql
全方位分析STEAM和创客教育的差异化
System clock failure of database fault tolerance
Clickhouse填坑记2:Join条件不支持大于、小于等非等式判断
Supervisor series: 5. Log
Gym 101911c bacteria (minimum stack)
HDU 2586 How far away ? (LCA multiplication method)