Quote:
Originally Posted by Learner
Two questions
1)what do you mean by
$sms_email = "10digitCellNumber@cingularme.com";?
2)Also when a customer places order,is it possible to send SMS to each of the registered customer's ordered product?
|
Hi Learner,
In regards to your question 1, just enter your Cell Phone Number and Wireless Carrier's SMS address.
For example:
If you use T-Mobile...
$sms_email = "1234567890@tmomail.net";
(note: of course, you would type in your personal 10-digit phone number)
HERE IS A LIST OF SOME POPULAR SMS EMAIL ADDRESS FORMATS:
Alltel:
phonenumber@message.alltel.com
AT&T Wireless: (now Cingular):
phonenumber@mmode.com
Boost Mobile:
phonenumber@myboostmobile.com
Cingular:
phonenumber@cingularme.com
Metro PCS:
phonenumber@mymetropcs.com
Nextel:
phonenumber@messaging.nextel.com
Ntelos:
phonenumber@pcs.ntelos.net
Orange:
phonenumber@orange.net
Sprint (now Sprint Nextel):
phonenumber@messaging.sprintpcs.com
T-Mobile:
phonenumber@tmomail.net
US Cellular: 10digit
number@email.uscc.net
Verizon:
phonenumber@vtext.com
Virgin Mobile:
phonenumber@vmobl.com
---
In regards to your question 2, if you would also like the SMS message to go to the customer... I have not tried that yet, but here is an idea:
First add some code to collect the customer's SMS address during checkout (i.e. cell phone number with carrier's sms domain). Assign this to the variable $customer_sms_email;
Next, look in
include/func/func.order.php and find the line were the Order Processed Email is sent to the customer:
Code:
func_send_mail($userinfo["email"], "mail/order_cust_processed_subj.tpl", $mail_body_template, $config["Company"]["orders_department"], false);
Then, just add the same SMS code to that section, as shown in my
Version 2 in Post #2 above, but modified for $customer_sms_email
Code:
$customer_sms_email = "10digitCellNumber@cingularme.com";
func_send_mail($customer_sms_email, "mail/order_notification_sms_subj.tpl", "mail/order_notification_sms.tpl", $config["Company"]["orders_department"], false);
As I said, I have not tried that version yet, so just do some testing on a test site until you getting working the way you want with some test orders.
Robert