Profile

AMC-MAILING

AMC-MAILING

NAME

AMC-mailing - mail PDF annotated completed answer sheets to students

SYNOPSIS

auto-multiple-choice mailing [--xmlargs args.xml] --projet project-dir --students-list students-list.csv [--list-encoding encoding] --email-column col --sender sender-email --subject subject --text email-body [--debug file.log] [transport arguments...]

DESCRIPTION

The command AMC-mailing.pl sends by email the PDF annotated completed answer sheets to the students. Email addresses are taken from the students list file.

--projet project-dir

Gives the project directory.

--students-list students-list.csv

sets the students list file name.

--list-encoding encoding

selects an encoding for file students-list.csv (default is utf-8).

--email-column col

sets the name of the column containing the email addresses of the students in the students list file.

--sender sender-email

sets the sender email.

--subject subject

sets the subject of the emails to send.

--text email-body

sets the body text of the emails to send.

--attach filename

adds file filename as an attachment to all emails sent. Use this option several times to attach multiple files.

--transport transport

sets the transport to use. transport may be sendmail or SMTP.

--debug file.log

gives a file to fill with debugging information.

TRANSPORT ARGUMENTS

Depending on the value used for argument transport, the following arguments can be added:

Transport sendmail

--sendmail-path path

sets the path to the sendmail command (defaults to /usr/sbin/sendmail).

Transport SMTP

--smtp-host host

sets the SMTP hostname (defaults to smtp).

--smtp-port port

sets the port to use (default value is 25).

ARGUMENTS IN A XML FILE

To avoid encoding problems, one can place some arguments in a XML file and use the --xmlargs file.xml argument as the first command argument. Here is an exemple of such a file:

<?xml version="1.0" encoding="UTF-8"?>
<arguments>
  <arg>--sender</arg><arg>Bienven:ue &lt;paamc@passoire.fr&gt;</arg>
  <arg>--text</arg><arg>Voil`a votre copie corrig'ee</arg>
  <arg>--subject</arg><arg>QCM</arg>
</arguments>

AUTHORS

Alexis Bienven:ue <paamc@passoire.fr>

Main author

Jean B'erard

Translation from French

Georges Khaznadar

Translation from French

COPYRIGHT


Copyright © 2008-2013 Alexis Bienven:ue

This document can be used according to the terms of the GNU General Public License, version 2 or later.

Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions


Sign-in with one of the following services

Almost finished!

Please select a screen name for NET SOUP.



 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.

COMPLIMENTARY EXAMPLES

We have no example yet for this entry


Your Name
Now

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed