Menu

strange email problem

Help
2009-12-05
2013-05-30
  • maheshwar k

    maheshwar k - 2009-12-05

    Here is setup.
    1. pgv 4.1.7 with php 4.3.11 hosted at yahoo.
    2. at time of installation domain name was different, later changed.
    3. After changed domain name, I changed config settings to new domain name and contact email id in each gedcom config to new email id.
    4. mail option in gedcom config is set to default.

    Problem:
    When user registers, he gets mail to validate mail id but admin do not get mail of user registration. Once user validates email id, admin gets mail to approve user. When admin approves user, user does not get mail of approval of access. I also tried to send mail to user in pgv, system shows mail sent but user do not receive mail. If user makes some changes admin do not get mail for accept/reject. When admin logs on to system he can see all such messages in internal system but no mail.
    Any idea?
    Thanks in advance for help.
    Thanks,
    warm regards,
    Maheshwar

     
  • maheshwar k

    maheshwar k - 2009-12-05

    mail error log reads as follows. However the contact form have valid email id.

    From address not in member domain. Message not sent.
    2009 Dec 05 18:28:16  Result: 9
    2009 Dec 05 18:28:16  From address not in member domain. Message not sent.
    2009 Dec 05 19:20:08  Result: 9
    2009 Dec 05 19:20:08  From address not in member domain. Message not sent.

     
  • maheshwar k

    maheshwar k - 2009-12-05

    btw: in contact form, From: abc@example.com is from same domain where website is hosted.
    My apologies for too many mails.

     
  • knorway

    knorway - 2009-12-05

    Yahoo may be one of those providers that will not send an eMail to someone unless the eMail is actually from the sites URL.  I've had similar problems with other software.

    I'm not an expert but I think with Yahoo requires the "from" to be from your domain.  i.e.  John sends a mail to Sue John's eMail is John@xyz.com and Sue is at Sue@abc.com  and your URL is myfamily.com  John's can't send an eMail toSue@abc.com from John@xyz.com, the email must be sent from …@myfamily.com  so your site does not become a spam site.  This is what I am reading in the 2nd entry.

     
  • maheshwar k

    maheshwar k - 2009-12-06

    Yes, I know that, so I have replaced phpgedview-noreply@mydomain.com to real email id of same domain. So it is webmaster@domain.com, where website is hosted with domain.com/phpgedview.
    I am not sure if any other file it takes FROM: field while sending mails.
    If you notice, if user registers, he gets mail for verify the email id properly.
    After that for all events mail does not reach destination. If I select user and send mail to him, phpgedview says mail sent but it does not reach the mail box. Users do have mail ids from different domains. Yahoo has limit of such out going mails as 250 per day, I checked it, my other application WordPress send just 25 mails yesterday so quote is there.
    I think phpgedview takes FROM: field somewhere else or leaves it blank  while sending. I need help.
    Thanks,
    warm regards,
    Maheshwar

     
  • maheshwar k

    maheshwar k - 2009-12-07

    Solved.
    I patched up with 4.2.2 files.
    1. used winmerge and merged changed related with smtp for /includes/functions_mail
    2. created folder classes and uploaded phpmailer 4.x class files
    3. changed permissions to 775 for class files.
    4. In languages folder used winmerge for admin.en.php and patched file with smtp changes.
    5. In languages folder used winmerged for configure_help.en.php  and patched file with smtp changes
    6. updated config.php with following changes.

       
    $COMMIT_COMMAND=''; //- Choices are empty string, cvs or svn
    $PGV_SMTP_ACTIVE=true; //- Enable to use of SMTP to send external emails
    $PGV_SMTP_HOST='smtp.gmail.com'; //- The domain name of the SMTP smarthost
    $PGV_SMTP_HELO='gmail.com'; //- The local SMTP domain name
    $PGV_SMTP_PORT='465'; //- The port number talk to the SMTP smarthost
    $PGV_SMTP_AUTH=true; //- Enable the use of SMTP authorization
    $PGV_SMTP_AUTH_USER='abc@gmail.com'; //- User name for SMTP authorization
    $PGV_SMTP_AUTH_PASS='pass'; //- Password for SMTP authorization
    $PGV_SMTP_SSL=true; //- Use SSL for SMTP authorization
    $PGV_SMTP_FROM_NAME='webmaster'; //- Sender name
    It worked.

     
  • Anonymous

    Anonymous - 2009-12-07

    So the real solution, for most people, is to upgrade to the latest version of PGV. You were lucky in this case that you were able to patch changes built into 4.2.2 back to 4.1.7. The next version has far more extensive changes that will almost certainly make such hacks very difficult.

    Running an older version such as 4.1.7 will tend to cause an increasing number of problems, as it is no longer maintained. All bug and security fixes such as these mailer ones,  are applied to new versions only.

    4.2.3 will be released soon, so I strongly advise everyone to upgrade to it as soon as possible.

    Nigel

     

Log in to post a comment.