Hi Tom,

>        --host smtp.gmail.com:587 \
>        --user MYGOOGLE_USERNAME --password XXXXXX \
>        --auth \
...
> Would someone pls outline an approach I could use to do this with nmh
> instead of perl? I'm guessing I would modify the 'send' or 'post'
> steps somehow?
>
> Normally my email goes out through my sendmail MTA.

Have you considered altering your sendmail MTA configuration so it knows
Gmail is the ‘smarthost’ through which all outgoing email as
[email protected] should be sent?  Then your nmh email could continue its
route through sendmail, as now.

-- 
Cheers, Ralph.

Reply via email to