AT commands appearing in sent message

Hi guys,
I am using AT commands to send SMS from my computer using a java program.
When I send a message, the recipient receives the message but with additional AT commands embedded that were used on my side to send the message.
What do I need to do in order to ensure that only the message is sent and no additional AT commands go along.
This is the code segment that i use to send the message
                gsm.connect();
                //gsm.enableExtendedCommands();
                gsm.checkStatus();
                //Thread.sleep(5000);
                Thread.sleep(5000);
                //gsm.flush();
                //Put the GSM modem/phone in text mode
                gsm.send("AT+CMGF=1\r\n");
                //out.flush();
                //Enable extended error codes
                gsm.send("AT+CMEE=1\r\n");
                //out.flush();
                //Clear the outputstream of any characters unwanted in SMS to be sent
                //gsm.flush();
                //Send SMS
                gsm.send("AT+CMGS=\"" + phoneNumber + "\"\r\n");
                //gsm.flush();
                //Add a whitespace character
                gsm.send(message + '\032');
                //gsm.sendSmsMessage(message, phoneNumber);
                //Thread.sleep(200);
                Thread.sleep(2000);
                gsm.hangup();
                gsm.serialPort.close();The send() method is as follows
    public void send(String cmd) {
        try {           
            outputStream.write(cmd.getBytes());
        } catch (IOException ioException) {
            ioException.printStackTrace();
    }

It is possible that your sent email folder is somehow corrupted and that the indexing is all dorked up. Highlight/select your Sent folder then select the "Rebuild" item from the "Mailbox" menu item.
Also, if you went looking for it after you had quit Mail and logged back in, make sure that in Mail Preferences > Accounts > Mailbox Behaviors, that your Sent folder is not set to delete when quitting Mail.

Similar Messages

  • BCC'd recipents appear in sent message

    When I BCC emails to a group, the BCC'd recipients are visible to all recipents of the message. How can I stop this from happening? I want the BCC'd address to remain hidden. Any ideas would be great.

    To really insure that no one at all sees any of your contacts in your group, build your contacts for your group within the "Group" portion of "Address Book."
    Name that group with a name that will not reveal any of your contacts.
    Then Drag that "Group" to the "Bcc" field within your email composing window.
    Then, follow Mr. Mulders info of making sure that the check box in front of "When sending to a group, show all member addresses" is UNCHECKED!
    This works, I have used it before!
    Here is a poem I created just for this purpose:
    RESPECT
    A PF ORIGINAL
    Your e-mail addresses that you hold so dear,
    protect, admire and endear;
    to keep away from those who would harm,
    use wrongfully or put down
    in their annals of long, long lists,
    so someone in secret can capture
    and pass it around
    to places that would make your eyes roll.
    Soon appear oddities you wonder from where,
    you often wish they would all disappear.
    Were you asked permission for your address to appear
    publicly on a list for all to see;
    You know not so, but how could it be,
    that yours was picked for the world to see.
    Maybe all would be calm if this is done,
    hide the address and lock it so strong
    that no other can see or find - - -
    that is where it belongs.
    Take heed, learn and read; all will
    appreciate your care of what is theirs.
    Pass this around to those who would be so thoughtful!
    Another PF Original
    Copyright 2005
    iMac 1.9 GHz PowerPC G5 1.5 GB DDR2 SDRAM   Mac OS X (10.4.6)   Slot Loading 8X Dual Layer SuperDrive, iSight & Apple Remote; iPod Video

  • Sent messages not appearing/sent box

    I too am finding at times and it seems to be when the message doesn't go out immediately, that it think it goes but doesn't appear in the SENT box although some do receive the message.
    I really don't want to BCC myself in everything I send.
    Mac mail has given me more problems since July/12 than Outlook did in 10 years.

    Hi Bronco_6
    What do you mean by .Mac Mail? If you mean using a web browser to access your mail, then by default it does not save items in your Sent Messages folder. This is a Mailbox Behaviour preference that you can set by clicking on the Preferences text at the top right of the web page.
    If you are talking about using a .Mac mail account in the Mail application on OS X then that's of course a different issue. It should work by default.
    You may mean a combination of both. It took me a while to spot that messages sent via the Web page didn't end up in the Sent folder within Mail.app. Instead they appear in Sent Messages under the .Mac folder.
    Hope That Helps.

  • When I go click on a specific "Sent" message, all the lettering on the screen fades to an opaque, an hourglass icon appears, & nothing happens.

    When I open the window for all my "sent" messages and click on a specific message, nothning happens. Instead, the lettering on the list of "sent" messages fades to an opaque, and an hourglass iconn appears. When this happens, I can't even close out Thunderbird to start up again. Sometimes if I wait up to a minute or so, the message will appear. Usually, I control/alt/delete, and start all over again. This has only started happening in the past few weeks. During this same time, another problem has appeared. I use google and Youtube to watch a lot of old TV shows. Now, the Yahoo search appears, and the results include many items I don't wish to see. FYI, I use e-mail a lot, receiving and sending up to a dozen messages a day.

    re'' During this same time, another problem has appeared. I use google and Youtube to watch a lot of old TV shows. Now, the Yahoo search appears,''
    I presume you are refering to the Thunderbird search facility that allows you to 'Search google for', but now it says 'search Yahoo for'.
    When you enter something and select 'search Yahoo for' you will see a list of icons on the left side, currently the yahoo icon is selected and at the bottom the heart icon is also red.
    You can select any of those icons to change to another search engine.
    select the google icon, then at the bottom on the left, look for the heart icon, it will appear white with black outline. Click on the heart icon to change it to red. This will set google as default.
    Now close the search and retry, this time it should say 'Search google for'.

  • UTL_MAIL  sent messages do not appear in the outbox OUTLOOK

    Dear Forrum
    Sorry for me bad english, I am not speak very well the english. I am from Ecuador.
    I configured UTL_Mail because i need to send email and everything works good. But when I send an email with an email account associated with the domain that I configured. The outlook does not appear anything in the outbox.
    Example
    I sent a message [email protected] account, the message is sent and reaches all recipients. In the inbox of the recipients [email protected] appears as the sender, but when I enter my account Outllok in the outbox nothing appears. My account is [email protected]
    What happens?
    I am working with apex 11g.
    Danny Lima Ecuador

    897381 wrote:
    So, Where sent messages are stored?
    Because if I go into my email account nothing appears in the outbox?Of course not. Why would it appear in your e-mail reader's outbox when your e-mail reader did not send the e-mail ?
    my Pl/sql looks like:
    BEGIN
    utl_mail.send(sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'Test',
    message => 'HOlix');
    END;And this results in the Oracle database server to contact the mail server and send the mail. Your e-mail client is not part of this process. Your e-mail reader does not know about that e-mail. Your e-mail reader is a client- not a server. It has no reason to know what another e-mail client (your PL/SQL code) send or did not send.
    You want an outbox? You need then to design and code one for your PL/SQL mail client.
    I dont understand what happen?Perhaps you should read up on WHAT a mail (SMTP) server is, HOW it works, and WHAT a PPOP3/IMAP mailbox is, and HOW that works?

  • Sent messages do not appear in sent folder - IMAP server

    In my mac mail program, I have a .mac account and a gmail account, both of which work fine on all accounts. I also use another email account which is on an IMAP server. If I send an email from the webmail site, the sent message appears in my sent folder both at the webmail site AND in the folder on my mac email client. If I send an email using the mac email client, the message arrives to the destination, but no sent copy appears either in the sent folder on the mac client or at the webmail site. Please help!!
    powerbook G4   Mac OS X (10.4.5)  
    powerbook G4   Mac OS X (10.4.5)  

    Hi David,
    Where in the Sidebar to the Mail window, does the
    Sent folder appear, if one does, for the .mac
    account?
    Ernie
    Ernie,
    The sent folder (little airplane icon) for the .mac folder automatically appeared under my email accounts (in fact, both sent accounts - for my gmail and .mac - appeared as subfolders of the sent folder) when I set those accounts up. Those both work fine, though. It's the IMAP account that isn't working.

  • Some sent mails do not appear/are not saved in "sent messages" and are lost

    i work with mail and 4 different imap accounts. about every 15th sent email "gets lost". i.e. i can follow the sending process in the activity window, and i hear the sending confirmation tone. and, usually, the mails even reach the receiver. BUT, the mails do not appear/are not saved in the "sent messages" folder and are lost. this is very unsettling, as there seems to be no recognizable pattern. can anyone help, or should i change to "entourage"? big thanks for replies
    Message was edited by: Bassolino

    Hi Bassolino and David,
    I, too, have had this intermittent issue and wonder if you had found a solution?
    In the past 3 weeks, two messages have been sent from my mac mail account, using the mail application (the only apparent common factor being that both messages had iphoto attachments), the recipients have received them - only I do not have a copy in my 'sent' folder.
    They are not stored on the macintosh server either...
    I have not altered any settings and this intermittent issue has just emerged.
    Any help from 'Top Users' would be welcome. Thanks.

  • Sent messages not appearing on iPad...

    Why won't my sent email messages appear on my iPad, or in Mail on my MacBook appear even though they have been sent and received?
    (The mail account is configured correctly and this function works on my MacBook AND iPhone but never on my iPad)

    I'm still having this issue with 2 different IMAP based web mail accounts...
    They both send and receive messages just fine, however on my iPad and iPhone the Sent Messages are never saved, yet on my MacBook Pro and Mac Pro they do. The web ail accounts are set up with the EXACT same settings so I'm not sure why my devices won't save my Sent Messages.
    Any suggestions?

  • Mail & Exchange - Sent Messages not appearing in Sent mailbox

    Once setting up an Exchange account in Mail everything seems to be working fine except that when I send any emails they don't appear in the "Sent" folder. When I log in under webmail they do appear. Anyone else find a solution to this problem?
    Thanks for any help.
    K

    I'm having my own share of problems with Mail 4.2 and Exchange Server 2007. See this post.
    In addition to the Junk mail problem, I'm experiencing overall sluggishness. Mail takes longer than it should to quit, and sometimes I get the spinning pizza Loading… icon on simple text messages. I wish I could go back to re-configuring my Mail account to be POP instead of the auto discovery Exchange method.
    As to the Sent mail problem, I am not experiencing that issue. I don't know if this will help, but go to your Exchange account configuration in Mail, click Mailbox Behaviors, and under Sent check "Store sent messages on the server" and for "Delete sent messages when:" choose Never.
    My Sent messages all show up in my Sent folder in Mail, but they take a second. From what I can gather, these messages are sent to the Exchange Server first, and then downloaded by Mail. An unnecessary step, I feel, but I guess that's the way Exchange Servers work.

  • Sent messages and inbox messages all appearing in same list

    Hi there
    Please can anyone tell me how I can separate out my sent messages from my inbox messages? Currently when I go to "Messages" from the home screen it takes me to a list of all messages, both sent and received, altogether. I've not had this with any other phone - normally have an "inbox" and "sent" - please is it possible how I can see the messages separately as you would do normally, not all together in one long list?
    Are there any Apps to allow me to do this? Does iSMS allow this functionality - to have messages separated into inbox and sent folders accordingly?
    Thank you for any help answering my question.

    It's an absolutely brilliant phone don't get me wrong but this issue dumbfounds me. SMS is the biggest feature on every mobile. Why would a company deliberately choose to design a messages page and have all messages together instead of taking a bit more time (and money) developing it a bit further as with 99% of modern phones and move messages into appropriate folders - inbox, sent, drafts? Just to put them all in one list, making it impossible to tell which are ones you have written or been sent to you.
    For example: if I send a text sms to John Smith that message appears under "John Smith" in the messages page, and then when John replies to it that message too appears under "John Smith" in the same messages page (no other information other than the name of the person) - absolutely no way at all to tell which is the one I have sent and the one I have received without manually clicking into each - if I had 50 messages this would be very impractical as you can imagine. You can see my frustration?
    You cannot tell which messages you have sent and ones you have received - even a small marker like "R" for received and "S" for sent would help distinguish between them and be an improvement if all were to stay in the same page like they do. Is Apple likely to provide a solution to this soon in a next update?

  • Sent Messages not appearing in Mail

    For the past several days many of my older Sent messages from my Gmail account have not been appearing in the Sent folder in Mail.  The most recent messages from sent from Mail appear, but messages sent from other devices that used to appear in the Sent folder within Mail are not showing up.  I can view my Sent messges within the Gmail IMAP folders and in my Sent folders in my iPad and iPhone Mail apps.  What can I do?

    Select the mailbox in the mailbox list, then select
    Mailbox ▹ Rebuild
    from the menu bar.

  • Sent messages only appear in the sent folder after restarting Thunderbird

    Hi, my problem is that sent messages do not appear in the sent folder unless I restart Thunderbird. I have the sent 'copies' box de-checked as if not although it syncs I end up with two copies (of sent messages).
    I am using Thunderbird 31.2.0 on OSX Yosemite connecting via IMAP to ZOHO mail with STARTTLS on 587 for SMTP.
    Hope you can advise, I've tried SSL/TLS on 465 also and it is the same. It's a bit of an inconvenience not being able to view the sent messages.
    Many thanks

    Interesting to know (the RFC violation) but as you say, perhaps not relevant as such, although if ZOHO wasn't auto-placing a copy in sent then I could check the 'place a copy in' option and it would work ok.
    Anyhow, I tried your recommendations and yes, I use both an Android and an iPad to also check my mail but with both disconnected from Wi-Fi the problem still persists. There are a few warnings being reported in the TB error console on the Mac but they just relate to 'mso-table-lspace' for my INBOX.
    And for info in Thunderbird on my Ubuntu laptop the problem is exactly the same -
    'Place a copy' checked - Messages instantly appear in the sent folder but there are two copies.
    'Place a copy' de-checked/Cached connections = 5 - Messages only appear in the sent folder after restarting Thunderbird
    'Place a copy' de-checked/Cached connections = 1 - Messages appear in the sent folder on clicking out of the folder and back in.
    On Ubuntu there is nothing at all in the error console.
    I can work with how things are at this stage as I don't live in the sent folder (rather the inbox), and when you click into it (with the connections cache at 1) the messages do appear, so I suppose that's actually ok.

  • Messages not appearing in sent mail folders

    We recently migrated from a linux environ to mac server snow leopard. I'm now using Thunderbird as a testbed for my mail client as we have deeply populated mac mail clients that we don't want to disturb if our migration goes bad. Previously, I used both the mail app on mac and Thunderbird as my mail clients depending... Previously, when I would send a msg from my blackberry it would appear in my sent mail folder (on any mail client). Now it does not. Any suggestions as to why? Thanks.

    Can you see the sent message when using webmail on the server? If so you may just need to map the sent area of each mail client to the proper folder on the server, assuming you are using IMAP.

  • Sent messages appear only on screen of other party

    every Sent messages appear only on screen of other party and doesnot go into inbox. what may cause this?

    Your phone is then sending what is knows as "flash messages"
    What type of phone is it, you will need to change it back to sending normal text messages.
    iPhone 5 32GB
    MacBook Pro Retina 15" Mac OS X Mountain Lion 10.8.4

  • Sent messages re-appearing from years ago.

    Today I checked for something I sent over the weekend in my Sent items in the Mail client on my Mac, and discovered that a lot of emails I sent over a year ago (up to 3 years ago) have magically appeared in my sent mail as having been sent only a couple of days ago.
    This means that if I look at 'today' I have about 50 sent messages, when in reality I have only sent about 15, the other 30 or so being made up from messages I sent on this day over the past 3 years.
    Any ideas on how to fix?? I've tried re-building the mailbox with no luck.
    Thanks
    C

    Any ideas?

Maybe you are looking for