Xataface Email Module 0.3
Email/Mailmerge Module for Xataface
Enumerations | Variables
lib/XPM/EXAMPLES/smtp-relay.php File Reference

Go to the source code of this file.

Enumerations

enum  DISPLAY_XPM4_ERRORS

Variables

 $f = 'username@gmail.com'
 $t = 'client@destination.net'
 $p = 'password'
 $m
 $c = SMTP::connect('smtp.gmail.com', 465, $f, $p, 'tls', 10) or die(print_r($_RESULT))
 $s = SMTP::send($c, array($t), $m, $f)

Enumeration Type Documentation

Definition at line 29 of file smtp-relay.php.


Variable Documentation

$c = SMTP::connect('smtp.gmail.com', 465, $f, $p, 'tls', 10) or die(print_r($_RESULT))

Definition at line 47 of file smtp-relay.php.

$f = 'username@gmail.com'

Definition at line 34 of file smtp-relay.php.

$m
Initial value:
"\r\n\r\n".
     'Text message.'

Definition at line 39 of file smtp-relay.php.

$p = 'password'

Definition at line 36 of file smtp-relay.php.

$s = SMTP::send($c, array($t), $m, $f)

Definition at line 50 of file smtp-relay.php.

$t = 'client@destination.net'

Definition at line 35 of file smtp-relay.php.

 All Data Structures Files Functions Variables Enumerations