Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Reset Password Fatal!

edited March 2007 in Vanilla 1.0 Help
A member got this trying to recover a lost password...

A fatal, non-recoverable error has occurred Technical information (for support personel): Error Message Unable to send email. The SMTP server reported the following error: Affected Elements Email.ServerParse(); The error occurred on or near: 550 relaying mail to mac.com is not allowed

Posted: Wednesday, 14 March 2007 at 8:43AM (AEDT)

Comments

  • MarkMark Vanilla Staff
    Well, that's a pretty straightforward error: 550 relaying mail to mac.com is not allowed

    What are your SMTP settings (minus passwords, of course)?
  • SMTP Host: mail.bigpond.com.au
    SMTP User: jl_debono

    Does this mean my ISP does not allow relaying?
    Why should that cause a fatal error, sounds terminal.

    Posted: Wednesday, 14 March 2007 at 9:00AM (AEDT)

  • MarkMark Vanilla Staff
    Well, if the email doesn't send, that's an error. Probably shouldn't be fatal, and I could have sworn I let those errors fall-through. Maybe I didn't? I'll have to check.

    Do you have a local mail server on your server like sendmail? If so, you can remove the smtp settings and use that - it tends to be a little less scary than smtp.
  • I took out the settings and it worked.
    Now to remember what didn't work with the settings blank!

    Posted: Wednesday, 14 March 2007 at 9:02AM (AEDT)

  • I remembered, no emails are sent at all with the settings blank, no errors but no email sent!

    Tried the gmail host (smtp.gmail.com) and got...
    Email.ServerParse(); The error occurred on or near: 530 5.7.0 Must issue a STARTTLS command first i19sm12116419wxd
    Catch 22?

    Posted: Wednesday, 14 March 2007 at 9:15AM (AEDT)

  • I would be curious why PHP's default mail function isn't working - you probably have underlying server config issues you should identify and resolve.
  • Thanks Evic, my thoughts exactly, I'm sure it used to work.
    Just sent my host a querie, will wait to see what they say.

    Posted: Wednesday, 14 March 2007 at 9:46AM (AEDT)

  • edited March 2007
    The gmail server use tls protocol and the port 465. See this discussion: http://lussumo.com/community/?CommentID=57901
  • Nope, tried that, got...
    Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /forum/library/Framework/Framework.Class.Email.php on line 192

    And in my email app, the port number for gmail is 587, tried that too.

    Posted: Wednesday, 14 March 2007 at 10:22AM (AEDT)

  • edited March 2007
    Parse error: parse error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /forum/library/Framework/Framework.Class.Email.php on line 192...That's a syntaxe error. maybe you took off the '{' at the end of the line 184.
  • I thought I did so I put it back and ended up with two of them!
    It's working now, thanks Dinoboff.

    That will keep us going until my host support comes back with a fix to use sendmail.

    Posted: Wednesday, 14 March 2007 at 10:50AM (AEDT)

  • MarkMark Vanilla Staff
    Wait - there's a bug in the Framework.Class.Email.php file? Dinoboff?
  • edited March 2007
    no bug. It just doesn't support ssl connection and google only accept ssl connection.

    So Framework.Class.Email.php need to be patch. Wanderer just didn't patched it correctly (or i wasn't clear enought).

    I just added '{' in my patch.
    I am glad it works
  • MarkMark Vanilla Staff
    Ohhh. So maybe I should edit the class to allow an ssl connection and add that option to the application settings?
This discussion has been closed.