Keywords: Mode: All keywords (AND) |
Fri Jan 09, 2015 13:16
|
Mallikas: So yes, I am using the option frombody to extract the sms number from the message. Here's what I'm trying to do: I have a network monitoring tool that allows automated emails to be sent to certain addresses when certain events occur. My plan is to make some of these automated messages to be sent as a text messages. Currently I'm going to include the actual text message in the subject of the email, and the number or numbers in the mailbody.
Here's an example:
to: smstoolsaccount@something.com
subject: Hi, your network is currently down.
mailbody: 0401234567 0402345678 0403456789.
I can get it to work with one number but not with several.
|
Thu Nov 13, 2014 09:14
|
Mallikas: Hi again!
I was wondering if it is possible to extract more than one number from the mailbody?
Would it be possible by altering the regex or would that require modification to the code?
Thanks for your patience!
|
Thu Nov 13, 2014 08:47
|
Mallikas: This solved my problem, thank you Herbert, you are a treasure!
|
Mon Nov 10, 2014 11:11
|
Mallikas: Oh and I forgot to mention that I've also enabled less secure apps from google, so that shouldn't be a problem either....
|
Mon Nov 10, 2014 10:57
|
Mallikas: Hi again!
I've had the imap enabled from gmail the whole time and the account works perfectly with thunderbird.
Also tried it with POP, same result.
I'm running out of options here :\
|
Fri Nov 07, 2014 08:46
|
Mallikas: Hi!
I'm using MailSmsGateway with a imap account, and every time I try to run the program i get the following error int the log file:
DEBUG: Mailbox imap4 - imap.gmail.com, smsoppari, INBOX not ready to open
ERROR: Mailbox imap4 - imap.gmail.com, smsoppari, INBOX not readable
I'm sorry for asking such a newbie question, but what could be the cause of this?
|