Add send_email() function that composes multipart MIME messages with template-based body and .ovpn file attachment, piped to mail binary via subprocess.Popen. Supports Cryptgeon URL insertion and sender metadata. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
214 B
Plaintext
12 lines
214 B
Plaintext
Hello,
|
|
|
|
Your OpenVPN configuration has been updated for: {cn}
|
|
|
|
Retrieve your one-time password here (link expires after one view):
|
|
{url}
|
|
|
|
Your configuration file is attached as '{config_name}'.
|
|
|
|
Regards,
|
|
VPN Admin
|