Mark Constable writes:

Is there any performance or other difference between these 2 variations?...

cc "| mailbot -N -t vacation.msg -A 'From: $RECIPIENT' $SENDMAIL -f $RECIPIENT"

`mailbot -N -t vacation.msg -A 'From: $RECIPIENT' $SENDMAIL -f $RECIPIENT`

No notable performance difference. If $SENDMAIL errors for some reason, cc will throw an exception, while backticks will ignore it and just set RETURNCODE, that's the only major difference.

Attachment: pgpFcOozBTPZ1.pgp
Description: PGP signature

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to