I am pretty sure that SmsMessenger does not send emails. You use the Email client to do that. Read the error output from LogCat. If then you don't know what is the problem, post it here. Maybe someone will ridicule you for something or there is a genuine problem.
On 24 янв, 23:12, Jonathan Jenne <j...@edispatches.com> wrote: > anybody? > > On Jan 21, 12:23 pm, Jonathan Jenne <j...@edispatches.com> wrote: > > > I'm trying to code an app that sends an SMS message to an email > > gateway. I know this is possible because I can send a message from my > > phone number to an email, and have it receive it properly. Also, I can > > reply to that email and my phone will get it as a text message. The > > problem I'm having is that when I code it this way... the message just > > never happens. > > > My code in question is as follows: > > > String number = "j...@edispatches.com"; > > String st = "testing"; > > sm.sendTextMessage(number, null, st, null, null); > > > So, it should be sending "testing" to my email address... but it just > > seems to die when this method is called? Other operations within this > > method seem to be working as well. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en