Help with Perl email

Rainer Müller raimue at
Sat Jun 16 12:27:28 UTC 2018

On 2018-06-16 08:26, Michael wrote:
> I'm trying to use git send-email, and I got this error message out at the end:
> Send this email? ([y]es|[n]o|[q]uit|[a]ll): y
> Can't locate Net/SMTP/ in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.16.2/darwin-thread-multi-2level [...]

Are you really still using perl5.16? The git port currently depends on
perl5.26, so your installation seems to be out of date.

$ port -q installed git perl5.26
  git @2.17.1_0+credential_osxkeychain+doc+pcre+perl5_26+svn (active)
  perl5.26 @5.26.2_0+universal (active)

$ port provides /opt/local/lib/perl5/vendor_perl/5.26/Net/SMTP/
/opt/local/lib/perl5/vendor_perl/5.26/Net/SMTP/ is provided by:


More information about the macports-users mailing list