Solutions for your inquiries

  hosting
<< Back       The script send a email

Question: Hello! I have a need for daily distribution to all employees notices about birthdays. The company is small - just 60 people. All mailing will go only for`*.моя_компания.by no spam I guarantee.Want to make a small script in PHP running via CRON. Please indicate to the group how many email should I do batch mailings (10, 20 or 60 at a time) and what are the time intervals between packets sent to deliver, that would not create a burden on the mail server? Thank you.
Answer:

Hello. you can send up to 100 messages per hour

Question: Ie I can send an email 60 addresses in one package once a day , I no longer need. Thank you
Answer:

Thank you for contacted PODDERZHKI.

Question: Hello, please tell me the script must be in php , or you can write in Python , run through the crowns won`t be a problem?
Answer:

it is better to do in php

Question: good day,ladies and gentlemen, can you comment on why cron is not executing the script: /usr/bin/php5 /home/rudder66/public_html/sinergia.ga/mailsend/go.php >/dev/null 2>&1 running through a browser everything works fine, the other two tasks also work well, but it is not.
Answer:

Kron launches, this svidetelstvuet error_log located in the folder mailsend

 

Question: Oleg , error_log, appeared just now when I made a mistake in specifying the path to the database.... and now this file is constantly growing.Before that no error was
Answer:

You need to fix the errors that are specified in this file.

what is the feature of this script and how you run it through the browser?

Question: I have corrected the error. Can stop the process on the server that would error_log is not increased ? The script sends emails to addresses from a text database for a given HTML template. Now our database is only 2 ` for the test.I just run the executable go.php through a web browser .
Answer:

what is the process kuznestova? error_log is the error file if errors exist it will be napolnyaetsya

as you launch the script?

Question: All error is no more! the error_log also no more - let`s build on this. The script works if I run it manually by typing in the address bar of the browser.But after that one failure , something happened to my disk space 3 GB / 3 GB
Answer:

You have error_log was 2.5 GB , the disk space did not happen. you just izrashoduete

as you launch the script?

 

Question: Guys, after correcting the error (for which I truly apologize) I didn`t run, but something all the same bad file error_log d the root account constantly increases in size
Answer:

the error_log to ship anything can not. just remove it. it increases not by itself and the expense of the error entries you need to fix. delete this file and watch for errors in it.

Question: We each other do not understand apparently. I don`t start. 1 just launched - just enter the address http://sinergia.ga/mailsend/go.php in the browser
Answer:

http://sinergia.ga/mailsend/go.php

the 403 error . to work he can`t. check the rights Ana file. permissions must be 644

Question: Can. I closed this website to everyone except my network. View htaccess
Question: The question now is, why not stop growing error log when I launch nothing, nothing at all. Probably stuck some process on the server. At the moment the log has grown to 2 GB. Can watch what`s going on?
Answer:

Error:

[09-Jan-2015 18:10:23 Europe/Moscow] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /home/rudder66/public_html/sinergia.ga/mailsend/go.php on line 10 [09-Jan-2015 18:10:23 Europe/Moscow] PHP Warning: feof() expects parameter 1 to be resource, boolean given in /home/rudder66/public_html/sinergia.ga/mailsend/go.php on line 9

What is this script?

Question: Oleg, Vladimir, Eugene, the essence of the script contained in the ticket more than once, this is a common simple script send email. I asked you a question run this script through the crowns, but while waiting your answer has created another problem : during the revision of the code, I made a mistake in the path to the text database email addresses then there was this crashing and errors on the server. At this point in the code there are no errors, you can verify this by running the script file from the link above.
Answer:

All the process your account stopped. The error file is not created.

Question: Thank you. At the moment the error I fixed, let`s see why it didn`t run through the scheduler, but only through the browser
Answer:

Specify how you run it.

Question: Prescribe command: /usr/bin/php5 /home/rudder66/public_html/sinergia.ga/mailsend/go.php >/dev/null 2>&1 and the current time +5min , sitting waiting but nothing happens.
Answer:

the Rules of the hosting set limit in cron jobs is 15 minutes.

Question: I know, but what does this have to run the script? Right now I set the start at 20:00 , in the previous hour and moreover 15 minutes of no job not run.
Answer:

According to the team kroons all right, you have other jobs crowns work?

Question: Yes, all on schedule
Answer:

Expect a please, a request is sent to the administrator.

Answer:

for a direct link to the file runs the mailing list?

Question: Yes, the direct link works
Answer:

if the job requires in the browser, run it through wget

Question: thank you I will try
Answer:


ok

Question: Please stop again all the process on my account, I`ll try to start using wget - still, the script hangs the server when you run through the crowns in the usual way.
Answer:


ok

Question: Good day,faced with another problem:if you send messages to several mailboxes in one domain (my case 4 drawers *@sinergia.by), the letters to the addressees do not reach - locked is not clear on which node. The funny thing is that after a couple of days the letters start to come in boxes. Tried to add to the mailing list of mailboxes @gmail.com, @tut.by the email comes instantly.The first thing I went to ISP mail server, they have checked everything and said that there were no locks on their server no. So I decided just in case to ask you: can outgoing server somehow blocks? ...did not even know where to dig ;(
Answer:

Hello . on what box the mail is not reached

Question: In the process of testing the script sent e-mails to only 1 box [email protected]Далее completed the mailing to the 4-box domain, log ниже:[email protected] 2015-11-17 15:55:35 [email protected] 2015-11-17 15:55:35 [email protected] 2015-11-17 15:55:35 [email protected] 2015-11-17 15:55:35 Letters did not come now even if to send email to 1 mailbox [email protected] as I did earlier while I was testing this script on it nothing comes.
Answer:

send now , we will check the log

Question: [email protected] 2015-11-17 16:23:40 [email protected] 2015-11-17 16:23:40 [email protected] 2015-11-17 16:23:40 [email protected] 2015-11-17 16:23:40 left
Answer:

how much mail you sent on these boxes? the receiving server answered You in denial

2015-11-17 16:23:40 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ZygEW-000JzM-Cl
2015-11-17 16:23:40 1ZygEW-000JzM-Cl SMTP connection outbound 1447766620 1ZygEW-000JzM-Cl ekrn.biz [email protected]
2015-11-17 16:24:43 1ZygEW-000JzM-Cl H=mail.sinergia.by [93.125.42.193] Connection timed out
2015-11-17 16:24:43 1ZygEW-000JzM-Cl == [email protected] R=lookuphost T=remote_smtp defer (110): Connection timed out

Question: Yes, the fact of the matter is that was launched only one distribution , i.e. 1 the same letter. The second I time I did a newsletter at your request only. You can find out which server rejects his IP?
Answer:

in the log server is specified

mail.sinergia.by [93.125.42.193]

Question: Thank you very much , I will continue to gouge the provider
Answer:

ok

Question: Good day!Guys can post here the full log of the failure incoming mail server mail.sinergia.by. The last attempt mailing была:[email protected] 2015-11-18 15:25:08 [email protected] 2015-11-18 15:25:08 [email protected] 2015-11-18 15:25:08 [email protected] 2015-11-18 15:25:08 [email protected] 2015-11-18 15:25:08 can`t finish them, saying that nothing block... no more of my forces ((
Answer:

sample of the log sent to [email protected]


<< Back