I need to use pop before SMTP, but when I include the next lines in my php code:
Code: Select all
<?php
require_once "lib/Swift.php";
require_once "lib/Swift/Connection/SMTP.php";
//Apologies for the filename, it's to stop Swift auto-loading it
require_once "lib/Swift/Authenticator/$PopB4Smtp$.php";Code: Select all
Fatal error: require_once() [function.require]: Failed opening required 'lib/Swift/Authenticator/$.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in xxxxxx/prueba_correo.php on line 27Code: Select all
Fatal error:
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.xxxxxx.net:110 (Connection timed out) in /home/xxxx/xxxxx/lib/Swift/Authenticator/PopB4Smtp/Pop3Connection.php on line 129
Fatal error:
Uncaught Error of type [Swift_Connection_Exception] with message [The POP3 connection failed to start. The error string returned from fsockopen() is [Connection timed out] #110]