sendMail

User Guide:

  • Editor Tutorial
    • Getting Started
      • Prerequisites
      • Installation
    • Launching the Editor
      • From Command Line
      • Using the Standalone Binary (macOS/Windows)
    • Creating a New Newsletter
    • Opening Existing Documents
    • Editing Content
      • Text Formatting
      • Inserting Images
      • HTML Preview
    • Working with Filters
      • Opening the Send Dialog
      • Setting Up Filters
      • Database Preview
      • Valid Filter Fields
    • Managing Profiles
      • Adding sendMail Profiles
      • Selecting a Profile
      • Profile Configuration
    • Saving Your Work
      • Markdown Format
      • HTML Format
      • Save Behavior
      • Manual Save
    • Sending via sendMail
      • With Filters
      • Using Database Preview Filter
    • Tips and Tricks
      • Templates
      • Batch Processing
      • Filter Testing
      • Image Best Practices
      • Markdown Tips
      • Google Sheets Integration
    • Common Tasks
      • Create and Send a Simple Newsletter
      • Send to Filtered Group
      • Create Newsletter from Template
    • Troubleshooting
      • Editor Won’t Launch
      • Filter Not Validating
      • Images Not Embedding
      • sendMail Command Not Found

API Reference:

  • sendMail
    • sendMail module
      • Overview
        • get_default_config_path()
        • init_log()
        • open_google_db_members_sheet()
        • read_all_sheet()
        • get_google_sheets_schema()
        • Dict2Class
        • guess_type()
        • file_to_base64()
        • make_html_images_inline()
        • prepare_html_for_cid()
        • get_subscriber_reader()
        • get_indices()
        • get_smtp_connection()
        • get_gmail_service()
        • save_to_sent()
        • prepare_html_and_get_images()
        • format_message()
        • process_attachments()
        • md2html()
        • build_email()
        • generate_mailing()
        • filter()
        • send_gmail()
        • send_mail()
        • get_newsletter_name()
        • process_profile()
        • check_mandatory_param()
        • setup_argparse()
        • main()
      • Classes
        • Dict2Class
      • Functions
        • Logging & Initialization
        • Google Sheets Functions
        • File Utilities
        • HTML Processing
        • Email Building & Sending
        • Message Processing
        • SMTP & IMAP
        • Configuration & Validation
        • Filtering & Data Processing
        • Profile Processing
        • Command-line Interface
      • Command-Line Arguments
        • Basic Options
        • Test & Debug Options
        • Database Options
        • Rate Limiting & Batch Options
        • Other Options
      • Usage Examples
        • Example 1: Basic Newsletter with Attachments
        • Example 2: Test Mode with Custom Message
        • Example 3: HTML Email with Rate Limiting
        • Example 4: Partial Database Processing
        • Example 5: Dry Run (No Sending)
        • Example 6: Selected Recipients Only
        • Example 7: Using CSV Database
        • Example 8: Delayed Send with Wait Time
      • Configuration
    • editor module
      • Overview
      • Module API
        • pyqtSignal()
        • pyqtSlot()
        • EditorBridge
        • EditorWindow
        • main()
      • Classes
        • _LinkDialog
        • _AnchorDialog
        • _TableDialog
        • _SendDialog
        • _LineFieldSpec
        • _ConfigDialog
        • EditorBridge
        • EditorWindow
      • Functions
        • _svg_icon()
        • main()
    • googleDriveLib module
      • Overview
      • Functions
        • Logging
        • Connection & Authentication
        • File Operations
      • Module Details
      • Usage Example
    • Filter Validator Module
      • Overview
        • FilterValidator
      • Classes
        • FilterValidator
      • Usage Examples
    • Schema Provider Module
      • Overview
        • DatabaseSchemaProvider
      • Classes
        • DatabaseSchemaProvider
      • Usage Examples
        • Extract schema from CSV file
        • Extract schema from Google Sheets
        • Auto-detect database type
    • Filter Matcher Module
      • Overview
        • FilterMatcher
      • Classes
        • FilterMatcher
      • Usage Examples
        • Single row filtering
        • Multiple rows filtering
        • Get filter results with count
sendMail
  • Search


© Copyright 2025-2026, Xavier Mayeur.

Built with Sphinx using a theme provided by Read the Docs.