|
isicom - 2009-10-16 13:19:22
Hi
thank you for your post. I tested the script on a server of me. Without any error message, the script runs. But I don't get any sms. I don't think, I made a mistake. May be you can find any mistakes.
See yeah...
isicom
/** Sample Email2SMS Usage */
require_once('class-email2sms.php');
// Creating Object
$email2sms_obj = new Email2SMS('anyEmail@address.com', 'email2sms.db');
// Setting Country and carrier information
$email2sms_obj -> setProperty('email2smsCountry', 'Germany');
$email2sms_obj -> setProperty('email2smsCarrier', 'Vodafone');
$email2sms_obj -> setProperty('email2smsSubject', 'SMS');
$email2sms_obj -> setProperty('email2smsNumber' , '01735863601');
// Setting SMS text
$email2sms_obj -> setProperty('email2smsText' , "hello Nokia!");
// Voila, SMS sent!
$email2sms_obj -> prepareAndSendSMS();
// Getting errors
echo $email2sms_obj -> getError();
print_r($email2sms_obj -> getError('all'));
isicom - 2009-10-16 13:35:26 - In reply to message 1 from isicom
Sorry.
it's works...but receiving is NOT for free!!!!!
For Vodafone - Germany:
1. you have to unlock the receiving function by sending a sms to 3400 with key OPEN
2. every received sms cost 0,20 €
I closed this function by sending CLOSE to 3400.
Sorry, but who can need this project???? Everytime the telephone companies win here.
Thank you, it is a nonsens work.
Take care
isicom
Utsav Handa - 2009-10-18 05:09:24 - In reply to message 2 from isicom
Hello,
Thank you for your comments.
While testing the package may be you have read the README file notes.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Notes
-------
* Activation
Some networks require activation to allow this service.
* Charges
Most networks provide this service completely free, but some do not. It is advisable to check
with your own provider to check this out before using the service heavily. In most cases the cost
of the message is covered by standard texting plans (e.g. free texts). Note however that it is the
receiver that will pay any associated charges - hence the reason for activation above.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Also, in some countries, the Email2SMS gateways are still working and are free of charge. Like in India,
we have "Andhra Pradesh Airtel" which still provides this service.
This package is implemented with vision of being helpful to someone.
Hope this helps.
Thanks,
Utsav
Esteban Ortega - 2009-10-18 20:50:42 - In reply to message 2 from isicom
It is actually useless. It was free until a couple of months ago here in Canada. Now you are supposed to pay for every text you receive from e-mail so I no longer receive messages from Messenger.
Do you guys know how to set up a texting system just like Facebook? I've taken a look at some companies that offer that service but it is not cheap and it is based on the amount of messages you send, so it works like a phone. My phone has unlimited text messaging so I even considered connecting my cell phone to my computer and programming it to send messages wherever PHP tells it to, but I don't know how to do it.
If any of you knows how to do this, pelase contact me!
eortegaz@gmail.com
Thanks in advance,
Esteban.
|