przewiń do treści

Zend Framework od podstaw

Włodzimierz Gajda

<?php

class My_Mail_Netart extends My_Mail
{
    protected $_smtp_server  = 'gajdaw.nazwa.pl';
    protected $_from_email   = 'konto@twojserwer.nazwa.pl';
    protected $_from_caption = 'Administrator serwisu example.net';

    protected $_config = array(
        'ssl'      => 'ssl',
        'port'     => 465,
        'auth'     => 'login',
        'username' => 'konto@twojserwer.nazwa.pl',
        'password' => 'haslo-do-konta'
    );

}

Listing 36.5. Klasa My_Mail_Netart

Rozdział 36. Wysyłanie poczty

listing-36-05.txt