Re: [問題] 請問apache+mysql+php的perl的moduleꬠ…
※ 引述《ucg (從來沒想過的好人牌..)》之銘言:
: ※ 引述《littleshan (我要加入劍道社!)》之銘言:
: : Mail::Sendmail是個module
: : 而不是執行檔
: : 我想你應該可以用Mail::Sendmail自已寫一個SMTP client
: : 然後把php.ini中 sendmail_path指向你寫好的程式即可
: 哇....自已寫一個SMTP client
: 天啊...
: 謝謝..
: 那我還是用linux來架站好了...
: 我以為這個module是個server害我開心了好久..
: 謝謝..
: 因為英文不太好..看那些文件..常常看走眼...
: 謝謝..
突然想到...
是不是說這個module是可以work的...
它嘗試透過這個server去sandmail..
但是因為我自己localhost沒有server所以沒有辦法出去..
會出現
===========================================
1..2
Test Mail::Sendmail 0.79
Trying to send a message to the author (and/or whoever if you edited test.pl)
(The test is designed so it can be run by Test::Harness from CPAN.pm.
Edit it to send the mail to yourself for more concrete feedback. If you
do this, you also need to specify a different mail server, and possibly
a different From: address.)
Current recipient(s): 'Sendmail Test <imucg@pchome.com.tw>'
ok 1
Server set to: ucg.m2.ntu.edu.tw
Sending...
Use of uninitialized value in chomp at C:/perl/site/lib/Mail/Sendmail.pm line 15
8.
Use of uninitialized value in pattern match (m//) at C:/perl/site/lib/Mail/Sendm
ail.pm line 160.
Use of uninitialized value in concatenation (.) or string at C:/perl/site/lib/Ma
il/Sendmail.pm line 329.
Connection error from 140.112.213.224 on port 25 ()
!Error sending mail:
Connection error from 140.112.213.224 on port 25 ()
not ok 2
=============================================
那..如果我在自己的winXP上架一個mail server不是sendmail..
比如argo mail server..
那可以嗎??
可是不是要有認證...
嗯..等一下來去試試看..
--
●●● ●●● ●●● ●● ●●●
●●● ●●● ●●● ●●● ●● ●●●●●●●
●●● ●●● ●●● ●●●●●● ●ꄠ 될 ●●●
●●● ●●● ●●● ●●● ●● ●▄● ●●●
●●● ●●● ●● ●●●
你 是 生 po了 篇上站 次 對不對~~~ 哈哈我是ucg
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.213.224
討論串 (同標題文章)
Perl 近期熱門文章
PTT數位生活區 即時熱門文章