SOAP
[ class tree: SOAP ] [ index: SOAP ] [ all elements ]

Class: SOAP_Transport_SMTP

Source Location: /SOAP-0.9.2/Transport/SMTP.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base
         |
         --SOAP_Transport_SMTP

SMTP Transport for SOAP


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 44]
SMTP Transport for SOAP

implements SOAP-SMTP as defined at http://www.pocketsoap.com/specs/smtpbinding/

TODO: use PEAR smtp and Mime classes



[ Top ]


Class Variables

$auth =  NULL

[line 56]


Type:   mixed


[ Top ]

$credentials =  ''

[line 47]


Type:   mixed


[ Top ]

$encoding =  SOAP_DEFAULT_ENCODING

[line 53]


Type:   mixed


[ Top ]

$host =  '127.0.0.1'

[line 54]


Type:   mixed


[ Top ]

$incoming_payload =  ''

[line 51]


Type:   mixed


[ Top ]

$port =  25

[line 55]


Type:   mixed


[ Top ]

$timeout =  4

[line 48]


Type:   mixed


[ Top ]

$url =  ''

[line 50]


Type:   mixed


[ Top ]

$urlparts =  NULL

[line 49]


Type:   mixed


[ Top ]



Method Detail

SOAP_Transport_SMTP (Constructor)   [line 64]

SOAP_Transport_SMTP SOAP_Transport_SMTP( string $URL, [ $encoding = 'US-ASCII'])

SOAP_Transport_SMTP Constructor
  • Access: public

Parameters:

string   $URL   —  mailto:address
   $encoding   — 

[ Top ]

send   [line 82]

string send( string $msg, [ $options = array()], string $action, integer $timeout)

Sends and receives SOAP data.
  • Return: Response data, minus HTTP headers.
  • Access: public

Parameters:

string   $msg   —  Outgoing POST data.
string   $action   —  SOAP Action header data.
integer   $timeout   —  Socket timeout, defaults to 0 or off.
   $options   — 

[ Top ]

setCredentials   [line 179]

void setCredentials( string $username, string $password)

Sets data for HTTP authentication, creates Authorization header.
  • Access: public

Parameters:

string   $username   —  Username.
string   $password   —  Response data, minus HTTP headers.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:33:03 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.