我应该使用哪个CPAN软件包发送邮件? [英] Which package from CPAN should I use to send mail?

查看:86
本文介绍了我应该使用哪个CPAN软件包发送邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该使用哪个CPAN软件包发送邮件?

Which package from CPAN should I use to send mail?

有时候timtowtdi方法很累人.对我来说,尤其是在包装选择方面.

Sometime the timtowtdi approach is very tiring. For me, especially when it comes to package selection.

所以我只想发送电子邮件,可能是HTML电子邮件.在Mail-Sendmail,Mail-Sender,NET-SMTP(顺便说一句-在PPM中不可用),Mail-SendEasy和80多个其他在其包名称中带有"Mail"的包之间,我应该选择哪一个?

So all I want is to send email, potentially HTML emails. Between Mail-Sendmail, Mail-Sender, NET-SMTP (by the way - not available in PPM), Mail-SendEasy, and the 80 or so other packages that have 'Mail' in their package name - which one should I choose?

在本主题中,选择慢跑"程序包的一般方法是什么? IE. 每个人都在使用"的程序包.某处有任何评级或人气广告牌吗?

And while in this subject, what is your general apprach to choose the "canonical" package for a jog. I.e. the package that "everybody is using". Is there any rating or popularity billboard somewhere?

推荐答案

选择慢速运动的规范"软件包的一般方法是什么? IE. 每个人都在使用"的程序包.某处有任何评级或人气广告牌吗?

what is your general apprach to choose the "canonical" package for a jog. I.e. the package that "everybody is using". Is there any rating or popularity billboard somewhere?

当我要选择要使用的几个CPAN模块中的哪个时,我要看的是

When I want to pick which of several CPAN modules to use, the things I look at are

CPAN模块的石蕊测试是文档的第一页.如果有一个混乱的提要,或者没有简单的工作示例的提要,我想该模块可能不是一个好模块.不整洁,混乱或格式错误的文档也是一个危险信号.

The litmus test for CPAN modules is the first page of the documentation. If there is a messy synopsis, or a synopsis without a simple working example, I guess that the module is probably not a good one. Untidy, messy, or misformatted documentation is also a red flag.

  • 该模块最新版本的发布日期会告诉您是否正在维护该模块,
  • CPAN测试人员的报告告诉您该模块是否可能不费吹灰之力地安装
  • rt.cpan.org 上的错误列表使您了解了作者在维护方面的活跃程度模块.
  • the date of release of the last version of the module tells you if it is being maintained,
  • the CPAN tester's reports tell you whether the module is likely to install without a struggle
  • the bugs list on rt.cpan.org gives you some idea of how active the author is about maintaining the module.

此外,该模块是否有邮件列表?拥有邮件列表是一个高质量,可维护,稳定,文档化且受欢迎的模块的一个很好的信号.

Also, is there a mailing list for the module? Having a mailing list is a pretty good sign of a good-quality, maintained, stable, documented and popular module.

  • 模块作者的名字是什么?
  • 作者还发布了多少其他模块?
  • 作者发布了哪种模块?

作者是一个很大的因素.有些作家创作的作品质量很高,例如吉斯尔·阿斯(Gisle Aas),格雷厄姆·巴尔(Graham Barr),安迪·沃德利(Andy Wardley)或扬·杜波依斯(Jan DuBois),还有一些人发现了很多可以被描述为实验性"的事物,例如达米安·康威(Damian Conway)或达彦(Tatsuhiko)宫川警惕发布了很多Acme ::(笑话)模块的人.另外,要提防那些只维护一个或两个模块的人写的东西.总共少于五个模块的人通常不维护它们.

The author is a big factor. There are some authors who create things which have excellent quality, like Gisle Aas, Graham Barr, Andy Wardley, or Jan DuBois, and some people who turn out a lot of things which could be described as "experimental", like Damian Conway or Tatsuhiko Miyagawa. Be wary of people who've released a lot of Acme:: (joke) modules. Also, beware of things written by people who only maintain one or two modules. People who have fewer than five modules in total usually don't maintain them.

cpanratings.perl.org 通常是有用的,但要加些盐.

cpanratings.perl.org is often helpful, but take it with a grain of salt.

除此之外,很多只是反复试验.下载并查看它是否通过了自己的测试,查看它是否具有任何测试,编写测试脚本等.

Apart from that, a lot of it is just trial and error. Download and see if it passes its own tests, see if it even has any tests, write a test script, etc.

  • Google 上的最佳搜索结果往往是古老的Perlmonks或perl.com或Dobbs博士的Journal文章,这些文章通常将您引向过时的事物.
  • search.cpan.org 的搜索功能在第1页上放置了十年未更新的模块,在第10页上放置了最新和最重要的模块.
  • The top results on Google tend to be ancient Perlmonks or perl.com or Dr. Dobbs' Journal articles, and these often point you towards outdated things.
  • search.cpan.org's search function puts modules which haven't been updated for ten years on page one, and the latest and greatest on page ten or something.

我想说的一件事是:警惕博客,stackoverflow,Usenet新闻等方面的建议-人们倾向于引导您选择当月最流行的模块,而不是稳定可靠的解决方案. 时髦的"模块通常缺乏文档记录,不稳定,具有噩梦般的依赖性,并且昨天的流行模块经常突然失宠并被废弃,被本月的另一种风格所取代,如果您决定使用它们.

One more thing I want to say: Be wary of advice on blogs, stackoverflow, Usenet news, etc. - people tend to guide you to whatever module happens to be flavour of the month, rather than a stable, proven solution. The "trendy" modules usually lack documentation, are unstable, have nightmarish dependencies, and quite often yesterday's fashionable modules suddenly fall out of favour and are abandoned, to be replaced by another flavour of the month, leaving you in the lurch if you decide to use them.

这篇关于我应该使用哪个CPAN软件包发送邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆