Документ взят из кэша поисковой машины. Адрес оригинального документа : http://dualopt1.cmm.msu.ru/bin/rdiff/TWiki/TWikiNetDotPm?rev1=2&rev2=1
Дата изменения: Unknown
Дата индексирования: Fri Feb 28 21:52:44 2014
Кодировка:
%TOPICTITLE% (1 vs. 2) - TWiki
Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r2  >  r1  ...
TWikiNetDotPm 2 - 2007-01-16 - Main.TWikiContributor
Line: 5 to 5
 
Changed:
<
<

ObjectMethod getUrl ($host,$port,$url,$user,$pass,$header) -> $text

>
>

ObjectMethod getUrl ($protocol,$host,$port,$url,$user,$pass) -> $text

  Get the text at the other end of a URL

TWikiNetDotPm 1 - 2006-02-01 - Main.TWikiContributor
Line: 1 to 1
Added:
>
>

Package =TWiki::Net

Object that brokers access to network resources.

ObjectMethod getUrl ($host,$port,$url,$user,$pass,$header) -> $text

Get the text at the other end of a URL

setMailHandler( \&fn )

  • \&fn - reference to a function($) (see _sendEmailBySendmail for proto)
Install a handler function to take over mail sending from the default SMTP or sendmail methods. This is provided mainly for tests that need to be told when a mail is sent, without actually sending it. It may also be useful in the event that someone needs to plug in an alternative mail handling method.

ObjectMethod sendEmail ($text,$retries) -> $error

  • $text - text of the mail, including MIME headers
  • $retries - number of times to retry the send (default 1)

Send an email specified as MIME format content. Date: ...\nFrom: ...\nTo: ...\nCC: ...\nSubject: ...\n\nMailBody...


Revision 2r2 - 2007-01-16 - 04:11:59 - TWikiContributor
Revision 1r1 - 2006-02-01 - 12:01:25 - TWikiContributor
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiNetDotPm
Syndicate this site RSSATOM