Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

PHP How can I avoid lack of sending of purchases in PHP with email (mail(...))?

JosiahMaybe

Gold Coder
Okay, so I can have unlimited email addresses, unlimited storage per each, and a set number of sends per hour per each. How do I make something that tests if an email was actually sent? I would be using in PHP that function called "mail" and sending a file along with it. I know how to send said email and file and how to test for errors. Like this would test for errors: "if (mail(...)){success} else {fail}". I have gotten from a hosting provider that mail actually does not return false with over max emails per hour. I can make multiple email addresses, but how to automatically test for which is over email limit?

What can I do to make it so like an automated system with a finite number of emails always sends an email without user trial and error until success within total max per hour of all emails? If it helps, I could get from 150 to 250 emails per hour per email address. I know I can just have user email saved for if there is an error or lack of sending and provide like my email if needed. I know there is also random numbers and like email per each that would like work. I would be on shared hosting and would prefer not to pay extra. If it helps, maybe I may try inmotionhosting.com or asurahost.com and inmotionhosting.com has a setting to increase number of emails per hour.

If I could get an always false on too many emails per hour would work. If there was some log of sent emails would maybe work too. I know that random numbers should evenly distribute among emails to use to send but still would prefer to be sure it was sent. If it helps, asurahost.com was where I got that it may not return false on their hosting with over email limit.
X E.
 
Okay, so I can have unlimited email addresses, unlimited storage per each, and a set number of sends per hour per each. How do I make something that tests if an email was actually sent? I would be using in PHP that function called "mail" and sending a file along with it. I know how to send said email and file and how to test for errors. Like this would test for errors: "if (mail(...)){success} else {fail}". I have gotten from a hosting provider that mail actually does not return false with over max emails per hour. I can make multiple email addresses, but how to automatically test for which is over email limit?

What can I do to make it so like an automated system with a finite number of emails always sends an email without user trial and error until success within total max per hour of all emails? If it helps, I could get from 150 to 250 emails per hour per email address. I know I can just have user email saved for if there is an error or lack of sending and provide like my email if needed. I know there is also random numbers and like email per each that would like work. I would be on shared hosting and would prefer not to pay extra. If it helps, maybe I may try inmotionhosting.com or asurahost.com and inmotionhosting.com has a setting to increase number of emails per hour.

If I could get an always false on too many emails per hour would work. If there was some log of sent emails would maybe work too. I know that random numbers should evenly distribute among emails to use to send but still would prefer to be sure it was sent. If it helps, asurahost.com was where I got that it may not return false on their hosting with over email limit.
X E.
What are you building...if you don't mind me asking?
 
A delivery system for upon purchase. I already have how to purchase including payment and products and just need a delivery system. It would be overall like a way to sell my code. I would be custom coding in a custom country check using navigator.geolocation in Javascript for between to purchase and paying. Anyway, a way to deliver code is what this would be for.
 
A delivery system for upon purchase. I already have how to purchase including payment and products and just need a delivery system. It would be overall like a way to sell my code. I would be custom coding in a custom country check using navigator.geolocation in Javascript for between to purchase and paying. Anyway, a way to deliver code is what this would be for.
"...A way to deliver code..." Can you elaborate on this?
 
So I have software(raw code) to sell. I would be sending an email with that software attached via PHP upon selling. Maybe a message with that email. It may have more than one attachment per email.
X E.
 
I forgot to mention, I would be sending a request from Javascript to that PHP file to do that email thing via AJAX to do this.
I know I can download things to devices but I would maybe be using phones to purchase and would prefer computers to download on.
X E.
 
I realize I can just download via PHP, but I prefer email. These files are small, less than 1MB total all of those, so I could download to anything. Like my concern would be how to secure downloads to be only after purchase. Maybe I should provide a button for downloads though. Downloads would also use PHP, maybe I should just add an option like email or download or both. I may be making a multiple at once possible seller thing. One or more thing required to make a purchase.
X E.
 
Some Ruby (.rb), some Kotlin (.kt), some Javascript (.js), and some Swift (.swift). I may also sell a generalized version of like my site so some HTML (.html) and PHP (.php). I prefer not to tell more than it does math for drawing about what it does.
X E.
 
Some Ruby (.rb), some Kotlin (.kt), some Javascript (.js), and some Swift (.swift). I may also sell a generalized version of like my site so some HTML (.html) and PHP (.php). I prefer not to tell more than it does math for drawing about what it does.
X E.
ok...but what are the codes for? what are their functions? Might be easier to know that so it's easier for marketing
 
I guess this is confidential enough. These codes do math for drawing in 3 or more dimensions.
I am unsure whether I should be saying this much on internet as I may have a competitor if I do that.
As it stands I can't find anything like it now.
X E.
Feel free to message me directly then. Anything said within a direct message will stay confidential.
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom