Hello there,
I have been trying to get SMS messages to send for quite some time now. I have seen posts on Development Seed by Will and have followed them, but have not had any luck. One site I have tried to implement says
"Unable to send e-mail. Please contact the site administrator if the problem persists." when you submit a node that's of a content-type that i am subscribed to. My other site doesn't do anything. I am using drupal 6.12 and have the email gateway enabled. When i verify my mobile number, i get the text in seconds, but i never get any for the content i'm subscribed to. If i enable the messaging debug module, i see the messages in the message log, but i have yet to get any to actually send. Regular emails such as registration emails, etc. send fine. I would really like to be able to use SMS. Any ideas as to why its not working or if i may be doing something wrong? Thanks.
Brian
Comments
Comment #1
grainybazzles commentedI'm getting the same problem. I've upgrade to the most recent builds of messaging and sms framework modules (6x-1.0 and 6x-2.1 respectively). When I check the log the SMS message is getting sent to the number without the domain. The log reads:
Error sending e-mail (from admin@example.com to 5555555@)
So it seems that the module is sending the text to the number without the carrier domain.
This problem looks like a former issue that was solved through a patch (http://drupal.org/node/335618).
I'm assuming that patch made it's way to the new sms_messaging.module, but I barely have any idea what I'm doing so I don't know how to check. Any help would be appreciated.
Thanks for all of the work that the developers have put in to this - it is a great module.
Comment #2
rothatboat commentedI have the same issue as grainybazzles; I've tried comparing the patch with the latest releases, but have had no luck in coming up with a solution.
I love this module and hope I can get this last part of it fixed asap!
Thanks in advance
Comment #3
grainybazzles commentedThanks to pathfinderelite, I've had success using Messaging 6.x-2.0 and SMS Framework 6.x-1.0. I am using this patch to make it work.
--- sites/all/modules/messaging/messaging_sms/messaging_sms.module 2009-05-13 10:50:58.000000000 -0400
+++ sites/all/modules/messaging/messaging_sms/messaging_smsNew.module 2009-05-13 10:43:03.000000000 -0400
@@ -45,7 +45,7 @@ function messaging_sms_user_destination(
// Check for active mobile infomation. Simply return it so that the send
// callback has a destination array and access everything.
if (!empty($account->sms_user) && $account->sms_user[0]['status'] == 2 && !empty($account->sms_user[0]['number'])) {
- return $account->sms_user[0]['number'];
+ return $account->sms_user[0];
}
}
@@ -59,7 +59,7 @@ function messaging_sms_user_destination(
*/
function messaging_sms_send_msg($destination, $message, $params = array()) {
$text = messaging_text_build($message, ' ');
- return sms_send($destination, $text);
+ return sms_send($destination['number'], $text, $destination['gateway']);
}
/**
Comment #4
Wuekkie commentedI got the same patch to work with Messaging 6.x-2.1 and SMS Framework 6.x-1.0
Thanks!
Comment #5
gausarts commentedSubscribing. Thanks
Comment #6
lhernon commentedthat patch worked great. Thanks!
Comment #7
univate commented