On this Page

    Sendmail Verification

    The DocOrigin sends mails via 3rd party tool called curl (https://curl.haxx.se/).

    In order to verify that you can send emails, we provide you with the following simple test steps:

    1.   Store the following to an email.txt file, adjusting as needed:

    From: John Smith <john@example.com>
    To: Joe Smith <smith@example.com>
    Subject: an example.com example email
    Date: Mon, 7 Nov 2016 08:45:16
    
    Dear Joe,
    Welcome to this example email. What a lovely day.

    2.   Execute the following command after adjusting the SMTP server, user, password, and port options:

    C:\DocOrigin\DO\Bin\curl smtp://mail.example.com:587 -u SMTP_USER:SMTP_PASS
    --mail-from myself@example.com --mail-rcpt receiver@example.com
    --upload-file email.txt -v --ssl

    3.   Note, you may or may not need to add additional security flags, see https://everything.curl.dev/usingcurl/smtp for details.

    In a short period of time, you should get an email into your inbox.

    If you don't get mail, you either didn't specify parameters correctly or your network configuration is blocking you from doing that.