Questions and discussion about using ProcessMaker: user interface, running cases & functionality
By azatrath
#818056
hi all, the last couple of days i am facing with this problem
"fsockopen(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server."
PHP unable to send any mail to my coworker, when i searched problem its about port. i already tried 25 and 587
My email server
Email Engine : SMTP
Server : smtp.gmail.com
Port : 587
Use Secure Connection: TLS
By nobody
#818059
Tough to say, but try the following steps.

1. First of all, try to send a test e-mail from the admin section of the processmaker.

2. If this will not work, run command prompt and type Telnet smtp.gmail.com 465. See if there are any errors. If so, the problem most likely is with your provider. Check with your IT for any recent changes/updates in security policy. I spent hours once to figure out what went wrong with emails only to find out our IT has tied my permissions to my local IP and a recent update changed the local IPs for all workstations.

3. If the test e-mail is sent successfully, then try to send an email through a trigger by using the PMFSendMessage function. Check if there are errors when running the trigger. Even though the PhpMailer logs are off by default, temporal messages are sometimes shown on the screen.

I suppose you are using the community edition. Sometimes it might help to log in to the phpMyAdmin, delete the record in the EMAIL_SERVER table but before that, write down the value from the MESS_UID column . Afterwards, in the Processmaker admin section, enter the email settings again and test it. If it is successfull, go back to MYSQL. You will find a new record in the EMAIL_SERVER table, but the MESS_UID column will be blank. Type the value you wrote down before.
By azatrath
#819266
nobody wrote: Fri Nov 23, 2018 6:20 pm Tough to say, but try the following steps.

1. First of all, try to send a test e-mail from the admin section of the processmaker.

2. If this will not work, run command prompt and type Telnet smtp.gmail.com 465. See if there are any errors. If so, the problem most likely is with your provider. Check with your IT for any recent changes/updates in security policy. I spent hours once to figure out what went wrong with emails only to find out our IT has tied my permissions to my local IP and a recent update changed the local IPs for all workstations.

3. If the test e-mail is sent successfully, then try to send an email through a trigger by using the PMFSendMessage function. Check if there are errors when running the trigger. Even though the PhpMailer logs are off by default, temporal messages are sometimes shown on the screen.

I suppose you are using the community edition. Sometimes it might help to log in to the phpMyAdmin, delete the record in the EMAIL_SERVER table but before that, write down the value from the MESS_UID column . Afterwards, in the Processmaker admin section, enter the email settings again and test it. If it is successfull, go back to MYSQL. You will find a new record in the EMAIL_SERVER table, but the MESS_UID column will be blank. Type the value you wrote down before.
ty for your reply, my email server works well but sometimes which can be around 2-3 hours, i cant reach the mail port. after that time cron php sent almost all waiting mail. but you can imagine there is always missing one. yes i am using community and i want to catch all missed mail.
User avatar
By amosbatto
#819310
I've never had any problem using port 587 with smtp.gmail.com. How do you know that it is a port problem?

This might be caused if the email account which sends out the email message doesn't have "Less secure apps" enabled in gmail.
Login to https://mail.google.com as the user who sends out the email and go to https://myaccount.google.com/lesssecureapps and enable the "Less secure apps" option.
By azatrath
#819423
amosbatto wrote: Mon Nov 26, 2018 7:37 pm I've never had any problem using port 587 with smtp.gmail.com. How do you know that it is a port problem?

This might be caused if the email account which sends out the email message doesn't have "Less secure apps" enabled in gmail.
Login to https://mail.google.com as the user who sends out the email and go to https://myaccount.google.com/lesssecureapps and enable the "Less secure apps" option.
ty amos your helps,

first thing i check is looking gor "less secure apps", its already enable.
i am not sure about port, i searched problem online and some of topic here "stackoverflow.com" solved with change port or servers way.

That problem occurs 1-2 hours dailly and this time we would miss urgent mails. do you know where can i check or do something? btw i check almost everywhere on wikia about email configurate.
By azatrath
#819424
amosbatto wrote: Mon Nov 26, 2018 7:37 pm I've never had any problem using port 587 with smtp.gmail.com. How do you know that it is a port problem?

This might be caused if the email account which sends out the email message doesn't have "Less secure apps" enabled in gmail.
Login to https://mail.google.com as the user who sends out the email and go to https://myaccount.google.com/lesssecureapps and enable the "Less secure apps" option.
i got same error again,
_ERROR_ message is
fsockopen(): php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]