Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was able to send mail up until last week when godaddy changed there mail server name. Im not sure what file to update with the new server name.

Im getting this error message when trying to send mail:

Failed to connect to [SMTP: Invalid response code received from server (code: -1, response: )]

Where/what do config file do i edit on my Ubuntu server?


share|improve this question

migrated from Mar 8 '11 at 23:55

This question came from our site for professional and enthusiast programmers.

i think the problem is with the remote server – n00b32 Mar 8 '11 at 22:34

Have you installed a mail server like Postfix on your server? Normally once it's done you don't have a lot of things to change. The last configuration you have to do is in your php.ini file (probably in /etc/php5/apache2/php.ini) there are SMTP settings to set.

share|improve this answer
it was working but godaddy changed the server and port. Just not sure where to update that. PEAR is installed on this server as well. – anon Mar 8 '11 at 22:39

You must log in to answer this question.