Hi, I can't get the 'contact the administrator' working.
Version PhpGedView: 4.2.3
Trial 1:
Site configuration - SMTP - Use SMTP to send external mails: No
User administration (of the admin) - Preferred Contact Method: PHPGedView internal messaging
Trial 2:
Site configuration - SMTP - Use SMTP to send external mails: Yes (and SMTP items ISP configured)
User administration (of the admin) - Preferred Contact Method: Internal messaging with emails
Trial 3:
Site configuration - SMTP - Use SMTP to send external mails: Yes (and SMTP items ISP configured)
User administration (of the admin) - Preferred Contact Method: Mailto link
When I'm trying 'to contact the admin', the message formis opened. I can add text and send the message. No error is received.
Unfortunatly, that's all. In all the the 3 above mentioned configuartion options NO message is received.
Please advice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Did you configure the contact method for the Genealogy and the Site contacts? You do this in the "Contact Information" section of the GEDCOM configuration.
The "Preferred contact method" setting on the user account page applies when the Admin wishes to send a message to a user or when one user wishes to contact another.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-29
I presume you mean with "Contact Information section" the settings which can be modified in:
Administration - Configuration - Site configuration - SMTP.
I've changed them according to the description in my first message. Alas, it won't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, I mean exactly what I said. There's contact information in the GEDCOM configuration too.
Go to the Manage GEDCOMs page and proceed from there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-31
Hi,
After changing the GEDCOM configuration to "PHPGedView internal messaging" and sending a message from an unknown user, the admin received the (internal) message. The sender however got the following errror:
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 477 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 526 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
Bericht verzonden (= dutch for 'message send')
My next step was to change the Configuration - SMTP - 'Use SMTP to send external mails' to YES and adding the required smtp address and all other items.
In the admin-profile (user administration) is the Preferred Contact Method changed to "Internal messaging with emails".
During the next test the anonymous sender received the following error:
Fatal error: Call to undefined method SMTP::getError() in E:\wwwroot\pgv\includes\class.phpmailer.php on line 1923
The admin received no message (neither intern PGV or external). The sender also didn't receive a copy of his message.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-09-04
Hi,
I'm already back to this setting, not because the problem is solved, but because I receive at least a message which is posted by a visitor. The visitor however receives, after sending the message, the error as already mentioned above:
- - - - - -
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 477 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 526 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
- - - - - - -
I checked the port required by my ISP for SMTP, but is the usual port 25.
In the Windows firewall (I use WAMP) is port 25 added as an exception.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ron
Your answer on your problem is specified in the error message:
Failed to connect to mailserver at "localhost" port 25
Your setup is pointing to a mailserver housed on your localhost server, not your mail server. You must supply the remote server address, something like mail.your-mail-server.com and also specify a registered user and password for that server, else the email can not be routed as it will appear as a spam relay, not a regular email. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-09-04
Hi Stephen,
When I change the settings as suggested, it's still not working.
See my posting of 2010-09-04 15:20:41 CEST
- - - - - -
My next step was to change the Configuration - SMTP - 'Use SMTP to send external mails' to YES and adding the required smtp address and all other items. In the admin-profile (user administration) is the Preferred Contact Method changed to "Internal messaging with emails". During the next test the anonymous sender received the following error: Fatal error: Call to undefined method SMTP::getError() in E:\wwwroot\pgv\includes\class.phpmailer.php on line 1923
- - - - -
The admin received no message (neither intern PGV or external). The sender also didn't receive a copy of his message.
Am I forgetting some setting somewhere ??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since we can't see your setting, and you've not provided all the details, we'd have no way of knowing what you are skipping.
What's the issue with using php's built-in mail function?
You have several places that relate to setting preferences on email. I'm assuming you are trying to reset your config.php file?
Do you have it set to 777 - full read/write? If not, any change you make in the GUI interface will not be saved.
You can contact me offline with full admin access privileges (Site Admin), unlock your config.php and send me the Mail Server you want to use, an authorized username for the account on that mail server, and that user's password. Also, advise if your mail server uses security or not (ssl/tls) gedcoms at myarnolds dot com or my SF address. I'll take a look. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I can't get the 'contact the administrator' working.
Version PhpGedView: 4.2.3
Trial 1:
Site configuration - SMTP - Use SMTP to send external mails: No
User administration (of the admin) - Preferred Contact Method: PHPGedView internal messaging
Trial 2:
Site configuration - SMTP - Use SMTP to send external mails: Yes (and SMTP items ISP configured)
User administration (of the admin) - Preferred Contact Method: Internal messaging with emails
Trial 3:
Site configuration - SMTP - Use SMTP to send external mails: Yes (and SMTP items ISP configured)
User administration (of the admin) - Preferred Contact Method: Mailto link
When I'm trying 'to contact the admin', the message formis opened. I can add text and send the message. No error is received.
Unfortunatly, that's all. In all the the 3 above mentioned configuartion options NO message is received.
Please advice.
Did you configure the contact method for the Genealogy and the Site contacts? You do this in the "Contact Information" section of the GEDCOM configuration.
The "Preferred contact method" setting on the user account page applies when the Admin wishes to send a message to a user or when one user wishes to contact another.
I presume you mean with "Contact Information section" the settings which can be modified in:
Administration - Configuration - Site configuration - SMTP.
I've changed them according to the description in my first message. Alas, it won't work.
No, I mean exactly what I said. There's contact information in the GEDCOM configuration too.
Go to the Manage GEDCOMs page and proceed from there.
Hi,
After changing the GEDCOM configuration to "PHPGedView internal messaging" and sending a message from an unknown user, the admin received the (internal) message. The sender however got the following errror:
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 477 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 526 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
Bericht verzonden (= dutch for 'message send')
My next step was to change the Configuration - SMTP - 'Use SMTP to send external mails' to YES and adding the required smtp address and all other items.
In the admin-profile (user administration) is the Preferred Contact Method changed to "Internal messaging with emails".
During the next test the anonymous sender received the following error:
Fatal error: Call to undefined method SMTP::getError() in E:\wwwroot\pgv\includes\class.phpmailer.php on line 1923
The admin received no message (neither intern PGV or external). The sender also didn't receive a copy of his message.
Try Setting the Site Configuration to
Use SMTP to send external mails: No
Hi,
I'm already back to this setting, not because the problem is solved, but because I receive at least a message which is posted by a visitor. The visitor however receives, after sending the message, the error as already mentioned above:
- - - - - -
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 477 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
ERROR 2: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
0 Error occurred on in function mail
1 called from line 164 of file functions_mail.php in function pgvMail
2 called from line 526 of file authentication.php in function addMessage
3 called from line 134 of file message.php
Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\wwwroot\pgv\includes\functions\functions_mail.php on line 164
- - - - - - -
I checked the port required by my ISP for SMTP, but is the usual port 25.
In the Windows firewall (I use WAMP) is port 25 added as an exception.
Ron
Your answer on your problem is specified in the error message:
Your setup is pointing to a mailserver housed on your localhost server, not your mail server. You must supply the remote server address, something like mail.your-mail-server.com and also specify a registered user and password for that server, else the email can not be routed as it will appear as a spam relay, not a regular email.
-Stephen
Hi Stephen,
When I change the settings as suggested, it's still not working.
See my posting of 2010-09-04 15:20:41 CEST
- - - - - -
My next step was to change the Configuration - SMTP - 'Use SMTP to send external mails' to YES and adding the required smtp address and all other items. In the admin-profile (user administration) is the Preferred Contact Method changed to "Internal messaging with emails". During the next test the anonymous sender received the following error: Fatal error: Call to undefined method SMTP::getError() in E:\wwwroot\pgv\includes\class.phpmailer.php on line 1923
- - - - -
The admin received no message (neither intern PGV or external). The sender also didn't receive a copy of his message.
Am I forgetting some setting somewhere ??
Since we can't see your setting, and you've not provided all the details, we'd have no way of knowing what you are skipping.
What's the issue with using php's built-in mail function?
You have several places that relate to setting preferences on email. I'm assuming you are trying to reset your config.php file?
Do you have it set to 777 - full read/write? If not, any change you make in the GUI interface will not be saved.
You can contact me offline with full admin access privileges (Site Admin), unlock your config.php and send me the Mail Server you want to use, an authorized username for the account on that mail server, and that user's password. Also, advise if your mail server uses security or not (ssl/tls) gedcoms at myarnolds dot com or my SF address. I'll take a look.
-Stephen