Hi again,

two more questions bellow about details I'm unsure about in your
patch.

Kan-Ru Chen wrote (07 Apr 2011 06:55:10 GMT) :

> +add_header() {
> +    local subject="$1";
> +    echo "Subject: $subject";
> +    echo "To: $EMAIL_ADDRESS";
> +    echo
> +    cat;
> +}

Why the ';' between those commands and at the end of the function
code? I presume I can safely remove these chars but I'm asking in case
there is a good reason not to.

Also, why is it needed to add the 'To:' header? Isn't it enough to
pass the recipient address as an argument to sendmail, as done by the
_mail function you introduce?

Bye,
--
  intrigeri <[email protected]>
  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
  | The impossible just takes a bit longer.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to