hello, Is it possible oto send email, using PHP, from remote server? instead the email will be send from the localhost, it will be sent using other server... ?
Thank you in advance.
I found this code: http://stackoverflow.com/questions/371392/using-html-mime-mail-for-php-to-send-email-but-need-to-authenticate-through-exch
but I get the error: "Failed to connect to smtp.******.com:25 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )]"
What is the remote server? Is it a mail server, do you have access to it, can you for instance put a php file on it?
Are you trying this on your own computer or a remote server? Either way, sounds like it might be a firewall issue.