the mail() function
Moderators: macek, egami, gesf
I have a php script which send email using the email addresses stored in mySQL DB. But Since my website host limit the number of emails sent to 15 / minute, I need to include some kind of delay. Which means, the emailing system shouldn't send more than 15 emails/ minute. Is there a way to do that.
Thanks for your help in advance.
- New php-forum User
- Posts: 2
- Joined: Wed Dec 05, 2012 10:53 am
I am going to go out on a limb here and say, no.
A script's maximum execution time (may or may not be modified, depends on your provider) won't allow you to do this. The only way it can be done is by using some sort of crontab and marking the email addresses as "sent" so that every 15 minutes when your script executes that it doesn't send the same email out to the same people..
- php-forum GURU
- Posts: 2197
- Joined: Wed Oct 06, 2010 11:19 am
- Location: Happy Valley, UT
It is very important that you plan your website before it ever goes live online. So many webmasters are running from one thing to the next without any kind of plan in place whatsoever. That?s why so many fail in the online world. Fail to plan and failure is inevitable.
The planning stage is where every business will either succeed or fail. Put a solid business plan in place and you will do well whether it is an online business or not.
You really need to outline your online business. You need to have a clear view of what your business will be before you start to build it. You must know where you want to go before you can get there. This is your business map. Without it you will have no direction and will have no way to get where you need to go. This is the most critical part of starting your online business. If you don?t have a crystal clear view of where you want to go and how to get there, you will fail miserably.
Start by making a list. Below are some questions you may want to answer that will help get you going and will help give you a clearer view of where you want to go with your online business.
What topics do you know a lot about?
What do you enjoy doing the most?
What do you do for a living? (Is there any possibilities there?)
Do you have a particular hobby that you enjoy?
What do you talk about when you converse with family and friends?
[url=/]herve leger intermix[/url] />Who would benefit the most from your business?
Since all websites have to be content rich you will want to use a topic that you know a lot about. Everyone [url=/]herve leger bandage top[/url] knows a lot about something. You do too. You just need to tap into it no matter how silly you may think it is. I will guarantee that there are many others out there that will have an interest in your topic.
It?s best that your topic is about something that you enjoy doing or enjoy talking about because it will show through one way or another in everything that you do with your online business. You don?t want your visitors to have the feeling that you are in it for the money and really don?t care about the content that your website provides.
Your product must relate to your content. If it doesn?t you probably won?t convert very well. Everything about your topic should relate to everything that you do. Your product is no different. Know who you are selling to. It is important to know who your potential visitors blue herve leger will be in order to be able to approach your topic in the right manner.
Set goals to where you want to be in say 3, 6 and 12 months from now. If you plan where you want to be you will have a better chance of getting there. Goal setting is a very important part of planning a new business. It is a map within a map. Set goals and watch how quickly they will become a reality.
Outline your business plan and you will see results. It will help you eliminate any surprises that may arise later on and will help you deal with any problems that do come along. Plan every detail right down to how you plan to advertise. Since I don?t know what your business plan will be I can only give you a basic outline of herve leger boutique what needs to be done. Only you have the answers of the best approach to herve leger metallic take. The main point is, plan your online business in advance and you will do well.
You can get more information on Internet marketing at [url=/]herve leger knock off bandage dress[/url] />
herve leger cheapest Herve Leger on sale (45)
herve leger cheapest Herve Leger on sale (39)
herve leger cheapest Herve Leger on sale (16)
- New php-forum User
- Posts: 127
- Joined: Mon Jan 07, 2013 3:36 am
Return to PHP coding => Mail
Who is online
Users browsing this forum: No registered users and 1 guest