insert ',' between recepients' addresses.
Showing
1 changed file
with
5 additions
and
2 deletions
... | @@ -55,8 +55,11 @@ mail_followup (int argc, char **argv) | ... | @@ -55,8 +55,11 @@ mail_followup (int argc, char **argv) |
55 | /* Add authors of the subsequent messages to the to list | 55 | /* Add authors of the subsequent messages to the to list |
56 | (or should it be cc?)*/ | 56 | (or should it be cc?)*/ |
57 | for (i = 1; i < num; i++) | 57 | for (i = 1; i < num; i++) |
58 | util_strcat(&env.to, util_get_sender(msglist[i], 0)); | 58 | { |
59 | 59 | util_strcat(&env.to, ","); | |
60 | util_strcat(&env.to, util_get_sender(msglist[i], 0)); | ||
61 | } | ||
62 | |||
60 | free(msglist); | 63 | free(msglist); |
61 | 64 | ||
62 | fprintf(ofile, "To: %s\n", env.to); | 65 | fprintf(ofile, "To: %s\n", env.to); | ... | ... |
-
Please register or sign in to post a comment