- Add comprehensive documentation in botbook/ with 12 chapters - Add botapp/ Tauri desktop application - Add botdevice/ IoT device support - Add botlib/ shared library crate - Add botmodels/ Python ML models service - Add botplugin/ browser extension - Add botserver/ reorganized server code - Add bottemplates/ bot templates - Add bottest/ integration tests - Add botui/ web UI server - Add CI/CD workflows in .forgejo/workflows/ - Add AGENTS.md and PROD.md documentation - Add dependency management scripts (DEPENDENCIES.sh/ps1) - Remove legacy src/ structure and migrations - Clean up temporary and backup files
26 lines
754 B
QBasic
26 lines
754 B
QBasic
PARAM to_email AS EMAIL LIKE "user@example.com" DESCRIPTION "Recipient email address"
|
|
PARAM subject AS STRING LIKE "Important Message" DESCRIPTION "Email subject line"
|
|
PARAM body AS STRING LIKE "Hello, this is the email content." DESCRIPTION "Email body content"
|
|
PARAM from_email AS EMAIL LIKE "noreply@company.com" DESCRIPTION "Sender email address" OPTIONAL
|
|
|
|
DESCRIPTION "Send an email to any recipient with subject and body"
|
|
|
|
IF NOT from_email THEN
|
|
from_email = "noreply@pragmatismo.com.br"
|
|
END IF
|
|
|
|
WITH email_data
|
|
to = to_email
|
|
from = from_email
|
|
subject = subject
|
|
body = body
|
|
timestamp = NOW()
|
|
END WITH
|
|
|
|
SEND EMAIL to_email, subject, body
|
|
|
|
SAVE "email_log.csv", email_data
|
|
|
|
TALK "Email sent to " + to_email
|
|
|
|
RETURN email_data
|