Click here to Skip to main content
15,881,815 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello
I have one pos system that runs localy on sql server.
The system has one feature that on every shift closed the app sends data to one send_Mail_Pos.php which is in one web server.
After this the server sends the data to the subscribed user.
Example :
http://www.softweb.com/send_mail.php?to ... dy=Company: Subjekt(218921)
Data/Ora: 19/02/2016 16:31:11
User: Elton
Total: 2,500.00
Close of shift is OK!&k3y=!s0ft!3xpr35

Can i do this on my own script since the hosting company does not support anymore this script?

What I have tried:

I don't know how to solve this



Posted
Updated 23-Feb-16 4:11am
Comments
Sergey Alexandrovich Kryukov 23-Feb-16 10:12am    
What's wrong with just reading PHP documentation?
Why using "What I have tried" section without telling us what you have tried?
—SA

1 solution

PHP provides different ways of sending mail.
See, in particular, PHP: mail — Manual[^].
And this one is by using PEAR: Manual :: sends a mail[^].

Some tutorial: http://www.tutorialspoint.com/php/php_sending_emails.htm[^]…

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900