![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How to send an E-mail using the macro sc_mail_send On this tutorial, Send an email using the macro sc_mail_send. 1. Create a new control form application
2. Click in New Field.
3. On quantity type 5 and click in Next.
4. Create the fields according to the image below.
5. In the application menu click in Blocks from the Layout folder..
6. Edit theMain Block.
7. Change the block name and label to To 8.Click in Create New Block. 9. Enter the values for the attributes Name, Label and To
10. Change the block name and label to Mensagem 11. Click in Create New Block. 12. Enter the values for the attributes Name, Label and Mensagem
13. Edit the created blocks properties according to the image below.
14. In the application menu click in Select Fields to organize the field according to the table below:
15. Code in the event OnValidate .
sc_mail_send(smtp, usr, pw, from, to, subject, message, mens_type, copies, copies_type, port, connection_type, attachment)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||