Connection refused (61)

  • Hello. I'm new to web developing and currently stuck with the following error:

    SMTP -> ERROR: Failed to connect to server: Connection refused (61)

    I'm getting this while trying to use GMAIL or other web mail SMTP server for
    outgoing mail.

    I tried setting several different ports to no avail

    I'm using PHPmailer for PHP 5.3 and I'm on mac os x Lion.

    If anyone has a clue how to debut this, please help me. I have no Idea what to
    do and there doesn't seem

    to be a lot of information on the web for this bug.