php - Codeigniter Email class connect to smtp server from behind a proxy -
i created simple mailing list system application using personalized mailer spark.
this spark uses codeigniter email class connect smtp server , send mails.
the problem server i'm working on uses proxy connect internet when tested mailing list didn't work despite worked when tested on local server.
is there way modify codeigniter email class support connecting smtp server using proxy?
ok, send email server have make tunnel through fsockopen
, use tunnel connect smtp. can't tell changes have made in codeigniter class know class can send email via http proxy
http://www.phpclasses.org/package/14-php-sends-e-mail-messages-via-smtp-protocol.html
and following test script in there option configure proxy.
http://www.phpclasses.org/browse/file/31.html
in case if wondering how done , wan't populate same logic in codeigniter class, have first read through lines 884 - 953
of file smtp.php
.
in opinion, instead of mimicking code of class onto codeigniter mail class, should use class instead , change personalized mailer code(which comparatively little effort) use class.
Comments
Post a Comment