auto-multiple-choice-mailing - mail PDF annotated completed answer sheets to students
Contents
Arguments In A Xml File
To avoid encoding problems, one can place some arguments in a XML file and use the --xmlargsfile.xml
argument as the first command argument. Here is an example of such a file:
<?xml version="1.0" encoding="UTF-8"?>
<arguments>
<arg>--sender</arg><arg>Bienvenüe <paamc@passoire.fr></arg>
<arg>--text</arg><arg>Voilà votre copie corrigée</arg>
<arg>--subject</arg><arg>QCM</arg>
</arguments>
Copyright
Copyright © 2008-2022 Alexis Bienvenüe
This document can be used according to the terms of the GNU General Public License, version 2 or later.
Auto Multiple Choice 1.6.0 2023-02-06 AUTO-MULTIPLE-CHOI(1)
Description
The command auto-multiple-choicemailing sends by email the PDF annotated completed answer sheets to the
students. Email addresses are taken from the students list file.
--projectproject-dir
Gives the project directory.
--students-liststudents-list.csv
sets the students list file name.
--list-encodingencoding
selects an encoding for file students-list.csv (default is utf-8).
--email-columncol
sets the name of the column containing the email addresses of the students in the students list file.
--sendersender-email
sets the sender email.
--cccc-email-address
sets the carbon copy email address.
--bccbcc-email-address
sets the blind carbon copy email address.
--subjectsubject
sets the subject of the emails to send.
--textemail-body
sets the body text of the emails to send.
--text-content-typecontent-type
sets the content-type of email text. content-type may be text/plain or text/html.
--attachfilename
adds file filename as an attachment to all emails sent. Use this option several times to attach
multiple files.
--transporttransport
sets the transport to use. transport may be sendmail or SMTP.
--debugfile.log
gives a file to fill with debugging information.
--delaytime
sets a delay of time seconds between each sending.
Name
auto-multiple-choice-mailing - mail PDF annotated completed answer sheets to students
Synopsis
auto-multiple-choice mailing [--xmlargs args.xml] --project project-dir --students-list students-list.csv
[--list-encoding encoding] --email-column col --sender sender-email
--subject subject --text email-body [--text-content-type content-type]
[--debug file.log] [transportarguments...]
Transport Arguments
Depending on the value used for argument transport, the following arguments can be added:
Transportsendmail--sendmail-pathpath
sets the path to the sendmail command (defaults to /usr/sbin/sendmail).
TransportSMTP--smtp-hosthost
sets the SMTP hostname (defaults to smtp).
--smtp-portport
sets the port to use (default value is 25).
--smtp-sslmode
sets the security mode for the SMTP connection. The option mode can be ssl, starttls, or 0
(unsecured).
--smtp-useruser
sets the username for authenticated SMTP.
--smtp-passwd-filefile
gives the path of a file containing the password (as the first line of the file) for authenticated
SMTP.
