[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [msmtp-users] msmtp fails if multiple recipients are specified in crontab MAILTO



On Mon, 24 Jun 2013 10:16:39 +0200, Matus UHLAR - fantomas wrote:
> I think that writing a simple mail address parser hat respects quoted
> strings and then splits by commas should not be hard to do.  I also
> believe addresses containing commas are much less common than
> specifying multiple addresses separated by commas.

Probably, yes.

We could try to reuse msmtp_read_addresses() to parse the command line
addresses. But we would need to change its interface, which is
currently limited to parsing mail headers from a FILE*.

Martin