Menu

request new account

Help
macalter
2010-04-22
2013-05-30
  • macalter

    macalter - 2010-04-22

    Have a cousin that wants an account so wanted to test procedure as I wasn't sure if email worked. Worse - this was on sending request info (username/password request):

    ERROR 8: fputs() : send of 15 bytes failed with errno=32 Broken pipe
    0 Error occurred on in function fputs
    1 called from line 556 of file class.smtp.php in function SendHello
    2 called from line 543 of file class.smtp.php in function Hello
    3 called from line 813 of file class.phpmailer.php in function SmtpConnect
    4 called from line 706 of file class.phpmailer.php in function SmtpSend
    5 called from line 576 of file class.phpmailer.php in function Send
    6 called from line 154 of file functions_mail.php in function pgvMail
    7 called from line 438 of file login_register.php

    ERROR 8: fputs() : send of 12 bytes failed with errno=32 Broken pipe
    0 Error occurred on in function fputs
    1 called from line 209 of file class.smtp.php in function Authenticate
    2 called from line 826 of file class.phpmailer.php in function SmtpConnect
    3 called from line 706 of file class.phpmailer.php in function SmtpSend
    4 called from line 576 of file class.phpmailer.php in function Send
    5 called from line 154 of file functions_mail.php in function pgvMail
    6 called from line 438 of file login_register.php

    Fatal error: Call to undefined method SMTP::getError() in /home/user/mydomain.com/tree/includes/class.phpmailer.php on line 1923

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-22

    Do you have your email properly configured in your config.php? (server, acct, user, password…) Do you have port 25 open on your server? So many ways this can go bad. What version of PGV? Which php? etc.
    -stephen

     
  • macalter

    macalter - 2010-04-22

    I cannot edit the configuration for email, it won't save.  The data was there but after writing, went to check and indeed, all was reverted back. It won't let me enter the sending domain, the port number, just changes back to whatever was there long ago.

    I did change the permissions on config.php.

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-22

    Make a backup (copy) and then edit it with your text editor (no BOM).
    You may think you've changed the permissions, but apparently not.
    Stephen

     
  • macalter

    macalter - 2010-04-22

    Edit of config.php:
    $PGV_SMTP_ACTIVE=true; //- Enable to use of SMTP to send external emails
    $PGV_SMTP_HOST='smtp.mail.yahoo.com'; //- The domain name of the SMTP smarthost
    $PGV_SMTP_HELO='yahoo.ca'; //- The local SMTP domain name
    $PGV_SMTP_PORT='587'; //- The port number talk to the SMTP smarthost
    $PGV_SMTP_AUTH=false; //- Enable the use of SMTP authorization
    $PGV_SMTP_AUTH_USER='username@yahoo.ca'; //- User name for SMTP authorization
    $PGV_SMTP_AUTH_PASS='password'; //- Password for SMTP authorization
    $PGV_SMTP_FROM_NAME='Site Coordinator'; //- Sender name

    Now I get error:
    Fatal error: Call to undefined method SMTP::getError() in /home/user/mydomain.com/tree/includes/class.phpmailer.php  on line 1923

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-22

    Sorry, don't use yahoo mail remotely, but doesn't it require SMTP authorization?  I would think so to avoid relaying/spamming.
    And to send using Yahoo mail, don't you have to use Yahoo Mail Plus? I think you can only read remotely standard Yahoo Mail, but then again, I'm no expert on Yahoo Mail and frankly avoid it like a plague.
    -Stephen

     
  • macalter

    macalter - 2010-04-22

    No, Yahoo Canada allows forwarding to other email apps. I now see above I didn't invoke authorization. Will reconfig and reply back.

     
  • macalter

    macalter - 2010-04-22

    Thanks Stephen. Seems to work. The core problem was in configuration setup, it didn't accept my entries. Editing within Transmit (FTP) was small type so didn't see the line for authentication.

     

Log in to post a comment.