Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
15
Task/Send-email/FreeBASIC/send-email-4.basic
Normal file
15
Task/Send-email/FreeBASIC/send-email-4.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'VBA code:
|
||||
Sub EnviarCorreo()
|
||||
Dim OutlookApp As Object
|
||||
Dim OutlookMail As Object
|
||||
Set OutlookApp = CreateObject("Outlook.Application")
|
||||
Set OutlookMail = OutlookApp.CreateItem(0)
|
||||
With OutlookMail
|
||||
.To = "recipient@domain.com"
|
||||
.Subject = "Mail subject"
|
||||
.Body = "This is the body of the email."
|
||||
.Send
|
||||
End With
|
||||
Set OutlookMail = Nothing
|
||||
Set OutlookApp = Nothing
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue