Lots of invisible mails in Outbox

Hi,
This is probably the wrong forum because it's an Exchange 2007 server I'm using, but it's definitely an Outlook related problem, so I didn't know where else to put it.
A user was getting messages to say his mailbox was full and eventually couldn't send. He rang for help because he couldn't see where to trim the mailbox down. The server database limit for his mailbox was 500MB, but Outlook was only showing around 100MB
of mails. I moved his mailbox to a bigger size database (2GB) so he could get on with sending mails. I noticed while the mailbox was moving, there were thousands of mails in his Outbox folder! The bigger mailbox allowance cured his immediate "can't send"
problem, but I double checked in Outlook and there was nothing in his Outbox. Outlook still says around 100MB in "Folder Size", server says just over 500MB.
How do I purge the mails from his Outbox? And I am concerned that they might all get sent again, I definitely don't want that to happen!
Kind Regards,
Steve
Steve

Hi Steve,
Please confirm if there are so many messages in Outbox folder in OWA and Outlook Online mode. If thousands of mails are shown in OWA/Online mode but not in Outlook Cached mode, please create a new Outlook profile to have a try.
Please check the messages in Outbox folder, we can delete some messages which are not necessary (such as messages in Deleted Items folder) in full mailbox. Or we can set higher mailbox quota for this specific mailbox by running the following command:
Set-Mailbox UserA -ProhibitSendQuota 2097152 -ProhibitSendReceiveQuota 2411520 -IssueWarningQuota 1991680
Regards,
Winnie Liang
TechNet Community Support

Similar Messages

  • Messages Stuck in Mail App Outbox

    I have an iphone 4S with IOS 6.1.3.  I use the Gmail app with no issues to send and receive messages.  However, when I attempt to send mail attachments directly from the phone's voice memos or camera roll functions, the messages get stuck in the Mail app outbox.  I receive no warning that there is an error when sending these messages, they just never send and I find them sitting in the outbox.  I've tried resending from the outbox with no luck.
    For camera roll pictures, I've gotten around the problem by composing a message in Gmail and then browse and attach the photos to the e-mail.  I don't think there is a similar solution for voice memos.  The only options within voice memos is to either directly e-mail or text the memos (but e-mail isn't working).  I don't see a way to save the memo and attach them like pictures as I can do in Gmail.
    I would love to be able to actually send emails directly from voice memo and/or camera roll, but I'm also open to work-arounds.

    I've been having similar issues with my iPhone 5 and the latest iOS version.  I read somewhere else about an issue with having Exchange and Imap in use with Mail being an issue.  I had both, but had my Exchange connection to Gmail off.  I was still having the issue.
    The solution that worked was to delete my Exchange Gmail account.  Now, emails are being sent immediately.  If you have Exchange and Imap Gmail accounts on your iPhone, pick one and delete the other.  Good luck.

  • Receiving lots of e-mail from Apple Discussion Forum

    I'm receiving lots of e-mails from the Apple Discussion Subscriptions, but I am NOT subscribed. How to I stop these e-mails?
    Thanks.
    H

    Hi H ,
    Welcome to Apple discussions; )
    Make sure that your "My Subscriptions" in the right sidebar have 0 next to all forums, topics & users etc.
    Subscribed Categories: 0
    No subscriptions to categories.
    Subscribed Forums: 0
    No subscriptions to forums.
    Subscribed Topics: 0
    No subscriptions to topics.
    Subscribed Users: 0
    Sometimes the software will experience a glitch and send out material you are not subscribed to.
    See this topic and thisApple discussions search...
    Hope this helps, some.
    Eme'~[)
    edited by: Eme

  • OSX Mail won't send mail from outbox

    Hi.
    I'm having a problem with Mail not sending messages from my out box. Everytime I compose a new message, it ends up in the outbox. I used the connection doctor and my pop and smtp connection is fine. I tried deleting some of my old email messages. I've repaired permissions, ran Diskwarrior even move my old email from a holding folder, deleting the old mail account, created a new account, transfered the old email back into the new account. It still doesn't send email from the out box. I know my pref settings are correct because I also have a G-4 desktop running the same OS and it sends mail just fine. I'm stumped.
    Any info will be of great help.

    If no error message is provided, the Outbox mailbox may have some corruption.
    With the Mail.app quit and using the Finder, go to Home > Library > Mail > Mailboxes > Outbox.mbox.
    The Outbox.mbox folder represents Out in the mailboxes drawer which appears only when a message cannot be sent and is shared by all accounts.
    Delete the Outbox.mbox folder and empty the Trash. This will delete any messages contained in the Outbox mailbox so before doing so, you need to move any messages contained in the Outbox mailbox to the account's Drafts mailbox.
    Launch Mail and a new Outbox.mbox folder will be created automatically by Mail within the Mailboxes folder.

  • Since installing iCloud I get the pinwheel a lot when using Mail

    Hi Since installing iCloud i have been getting the pinwheel on and off a lot when using mail on my macbook pro.   Does anybody know how to make that go away?   Perhaps it's going back and forth to the cloud a lot?  

    20 inch, 2009
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  2 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9400 256 MB
    Software  OS X 10.8.4 (12E55)
    I have 2GB installed
    Kind: Volume
    Created: 3/24/09
    Modified: 6/21/13
    Version 10.8.4
    Format: Mac OS Extended (journaled)
    Capacity: 319.21 GB
    Available: 113.4 GB
    Used: 205,814,046,720 bytes (205.81 GB on disk)
    The breakdown is of usage is:
    Audio: 11.69
    Movies: 32.79
    Photos:115.55
    Apps: 8.86
    Backups: 0
    Other: 36.93
    I have no crapware; I also don't have any anti-viral software because when I bought my Mac the guy said I didn't need it.
    I usually have Mail, Calendar, Stickies and Safari going.  If I launch iPhoto, my system totally slows down, almost to the point that I almost give up waiting.

  • TS2486 My mail.app got stuck while accessing mails in outbox. I was using ipad 3.Any advice?

    My mail.app got stuck while accessing mails in outbox. I was using ipad 3.Any advice?

    Okay, I figured this out.
    A podcast in iTunes was not downloading.
    Apparently, ios5 will only download one thing at a time and so it sets up a queue that must include all and any downloads: apps, songs, podcast, all of it. So, a tip to anyone with this problem look through all apps that have a queue of downloading items and clear them till you can get your system running again.

  • [Solved]Make Evolution put mail in outbox

    Hi,
    Right now when I want to send a message in Evolution it is sent right away. The problem is that I often have several big attachments to send and I would like Evolution to put mail in outbox when I click send, or at least to have a command "send to outbox". I tried to click on "work offline" but it sends my mail anyway. I looked for this option in Evolution's help, as well as in forums and Google, and couldn't find anything. Does anyone have a clue at how I can do this?
    Thanks in advance.
    Last edited by omer666 (2014-03-22 17:21:39)

    I use "Save as draft" when I want to send later. When ready I select all the messages in the Drafts folder (Ctrl-A), drag them to Outbox and click Send/Receive.
    Last edited by vacant (2014-03-22 16:27:23)

  • Lots of junk mail

    Since my recent upgrade to safari 4.0.5 I am getting LOTS of junk mail. Prior to this upgrade it was rare to receive any junk mail.
    Wonder if anyone else has seen a similar problem and if so have you found a solution for eliminating it?
    Thanks.

    Same here, as others have stated, I have never gotten more than 5 pieces of junk mail in the last 2 years.
    I keep this account clean and never disclose my address beyond friends/coworkers (one of the reasons I bear the unbearable $100 a year; a solid email system with robust spam filters).
    Today, when .Mac came back up, about 5 spams were already there and more have been appearing since then. All of them have the same attachment.
    I seriously think someone has broken into .Mac. Maybe that was the reason for that total outage. http://www.macfixit.com/article.php?story=20051121132930491
    If possible, please post examples or experiences. This concerns me as another reader stated that people in his Address Book were Cc:ed on some of the spam he got.
    The below spam had an attachedment called "Mail.zip (54.2 KB)".
    My Example:
    From: [email protected]
    Subject: smtp mail failed
    Date: November 21, 2005 6:55:10 PM EST
    To: [email protected]
    This is an automatically generated Delivery Status Notification.
    SMTP_Error []
    I'm afraid I wasn't able to deliver your message.
    This is a permanent error; I've given up. Sorry it didn't work out.
    The full mail-text and header is attached!
    MacMini   Mac OS X (10.4.3)   20" Cinema Display

  • Many invisible mails in Oulook 2007 Outbox

    Hi,
    A user was getting messages to say his mailbox was full and eventually couldn't send. He rang for help because he couldn't see where to trim the mailbox down. The server database limit for his mailbox was 500MB, but Outlook 2007 was only showing around 100MB
    of mails. I moved his mailbox to a bigger size database (2GB) so he could get on with sending mails. I noticed while the mailbox was moving, there were thousands of mails in his Outbox folder! The bigger mailbox allowance cured his immediate "can't send"
    problem, but I double checked in Outlook and there was nothing in his Outbox. Outlook still says around 100MB in "Folder Size", server says just over 500MB.
    How do I see the mails that the server is keeping in his Outbox? And I am concerned that they might all get sent again, I definitely don't want that to happen! But I do want to get rid of them.
    Kind Regards,
    Steve

    Hi Steve,
    From your description, it is recommended to use Online mode and Outlook safe mode to determine whether the issue is related to add-ins. What's more, if these messages are unnecessary, you can use MFCMAPI tool to delete these emails.
    Hope this can be helpful to you.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Cannot send mail from outbox

    I tried deleting the outbox from home/library/mail but no luck, internet works fine, mail recieves fine. from .mac website mail will send... but it won't send from my mail program. keep getting message "the connection to the server on"smpt.mac.com" on port 25 timed out." what else can I do?

    Who is your ISP used for connecting to the internet?
    This indicates your ISP is blocking the use of SMTP servers outside of their network on Port 25.
    Most, if not all ISPs have restrictions on the use of SMTP servers outside of their network on Port 25. Some ISPs allow the use of an authenticated SMTP server only that is outside of their network (such as the .Mac SMTP server) but some block its use regardless. These restrictions are part of an overall effort to prevent or reduce spam emanating from the ISP's domain.
    Try changing the Port used by the .Mac SMTP server from 25 to 587. Go to Mail > Preferences > Accounts and under the Account Information tab for your .Mac account preferences at the SMTP server selection, select the Server Settings button below. Enter 587 in place of 25 in the Server Port field. When finished, select OK to save the changed setting.
    If this doesn't work, select/use your ISP's SMTP server to send mail with your .Mac account which is invisible to all recipients.

  • Office 2013 is saving sent mail in outbox with 0 bytes.

    E mails are going and coming in outlook 2013 in IMAP configuration. but even after a mail is gone, that mails stuck in outbox with 0 bytes in size.

    Hi,
    Would you please provide more information so that we can resolve the problem more efficiently?
    Does the recipient receive the emails?
    Can you find the email in your Sent Items folder?
    Meanwhile, please try the following troubleshoot steps:
    1. Start Outlook in safe mode to check if this issue was caused by problematic add-ins. Press Windows Key + R, type
    outlook.exe /safe in the Run command and press Enter.
    2. Temporarily turn off your anti-virus and other security programs, make sure mail scanning in these security software is disabled. Then check the issue again.
    3. Run a repair of your Outlook data file to check the result:
    http://office.microsoft.com/en-us/outlook-help/repair-outlook-data-files-pst-and-ost-HA102749454.aspx
    More troubleshooting steps, please refer to the following article:
    http://www.slipstick.com/problems/common-problems-that-cause-email-to-stay-in-the-outbox/
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • Invisible mail messages

    I'm having trouble with Mail. Sometimes I click on reply to a message and the original message text disappears - rather frustrating when I'm trying to answer someone's questions. But its not a setting I've chosen - most of the time the original message text is there.
    Now it's got worse - some messages are hidden I know not where. I searched for an email I knew had been sent... when I used one word of the subject spotlight found nothing but when I used the other it found the email. But when I clicked on it nothing came up - it appeared to be empty. Also it is mysteriously blank in the 'Mailbox' column. Same problem for all my emails from this person - someone in my address book, not blacklisted. Are these mails in limbo somewhere?
    Really hope someone can help with this...
    Thanks!

    I'm experiencing this too... it seems sporadic
    Sending out of the office to a different email client seems to work OK
    Sending to others on our own network who also use Macs with Apple Mail seems to cause a problem.
    The subject line of the emails I send is OK
    The body of the email is invisible
    My colleague that received the invisible content was able to view it - by replying to it, the content displayed in the body of the reply email
    Anyone any ideas?
    I had so many problems using MS Outlook 2011 that I decided to ditch it
    In favour of Apple Mail
    It seemed universally recommended as the best alternative
    I like the stability of Apple Mail
    Only now I'm now wondering if I made a big mistake

  • Lot of SPAM mails in queue - Warnings from ISP

    Hi Jay,Shane and ALL,
    We are running messaging on Solaris 10 with below version.
    Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
    libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
    Insured that no entries added to mappings (except localhost) and only "authenticated SMTP" allowed.
    We implemented Separate AV/anti-spam box with aliasdetour and conversion channel which is working fine.
    we could achieve >95% spam control but recently we started receiving warnings from ISP that SPAM being sent out from our mail server.
    ++++++++Part of mail sent by ISP+++++++++
    Data received in complaint:
    Return-Path: <x>
    Delivered-To: x
    Received: from webmail.<our-domain>.com (our_mail_server_IP) by mail.iecc.com with SMTP;
    7 Sep 2007 03:29:00 -0000
    Received: from User ([210.70.82.129]) by webmail.<our-domain>.com (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTPA id <x> for x; Thu,
    06 Sep 2007 20:45:43 -0400 (EDT)
    Date: Fri, 07 Sep 2007 08:47:54 +0800
    From: Bank of America <x>
    Subject: Account Information Update.
    To: Undisclosed recipients: ;
    Reply-to: x
    Message-id: <x>
    MIME-version: 1.0
    X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    X-Priority: 1
    X-MSMail-priority: High
    X-DCC-IECC-Metrics: tom.iecc.com 1107;
    bulk Body=154 Fuz1=154 Fuz2#X-Tag: tagged by DCC
    Content-Type: text/plain
    Content-Transfer-Encoding: 8bit
    ++++++++++++end-of-part-mail-sent-by-ISP++++++++++++
    I noticed around 10K SPAM mails getting generated (added) daily in tcp_local channel queue.
    +++++++++a mail in queue++++++++++
    qm.maint> read 3000
    Message id: 3000
    Filename: /iplanet/SUNWmsgsr/data/queue/tcp_local/017/ZWf0I3dFTzue9.00
    Transport layer information:
    Envelope From: address: [email protected]
    Envelope To: addresses: [email protected]
    Message header:
    Received: from User ([203.144.16.210])
    by webmail.<our_domain>.com (Sun Java System Messaging Server 6.2-7.05 (built Sep
    5 2006)) with ESMTPA id <0JO300B5LSZDBK10@webmail.<our_domain>.com> for
    [email protected]; Sun, 09 Sep 2007 09:47:45 -0400 (EDT)
    Date: Sun, 09 Sep 2007 23:49:59 +1000
    From: Bank Of America <[email protected]>
    Subject: Account Information Update Urgently Needed
    To: Undisclosed recipients: ;
    Reply-to: [email protected]
    Message-id: <0JO300B5MSZFBK10@webmail.<our_domain>.com>
    MIME-version: 1.0
    X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    Content-type: text/html; charset=Windows-1251
    Content-transfer-encoding: 7BIT
    X-Priority: 3
    X-MSMail-priority: Normal
    qm.maint>
    ++++++++++++++++++++end-of-mail-in-queue++++++++++++++++++++
    Wondering how these mails exist in tcp_local queue wherein none of IPs (or users) allowed to relay through our servers.
    Pl help me resolve this issue.
    TIA
    Prvn

    Thanks Shane.
    Pl find my below answers:
    Hi,
    You need to track down the source of the emails by
    locating the relevant mail.log lines that correspond
    to the email delivery attempt. This will at least
    tell you how they are getting in (whether the email
    is coming in via the
    tcp_local/tcp_auth/tcp_submit/tcp_intranet channel
    etc.).07-Sep-2007 19:13:44.02 tcp_auth tcp_local EA 3 [email protected] rfc822;[email protected] [email protected] User ([210.70.82.129])
    08-Sep-2007 16:21:44.38 tcp_auth tcp_local EA 1 [email protected] rfc822;[email protected] [email protected] User ([203.144.16.210])
    >
    From there you can determine (if you have enough
    logging enabled such as LOG_USERNAME=1,
    LOG_CONNECTION=1, LOG_MESSAGE_ID=1) why they emails
    are being allowed through... After enabling the three parameters (option.dat and did cnbuild/restart),
    i noticed lot of such entries in mail.log_current:
    10-Sep-2007 00:04:28.59 tcp_local Q 2 [email protected] rfc822;[email protected] [email protected] <0JO400CPG2A15F00@webmail.<our-domain>.com> *admin@<our-domain>.com mailin.binghamton.edu dns;mailin.binghamton.edu (TCP|192.168.1.41|34548|128.226.7.23|25) (mail2.binghamton.edu ESMTP [7e5e6797de0c707331914caad1b54f2f]) smtp;450 <[email protected]>: Sender address rejected: Domain not found [email protected]: smtp;450 <alert@bancamerica.
    I have seen cases of:
    -> Incorrect mapping rules (so tcp_local->tcp_local
    relaying was broken)
    -> Overly large 'internal' IP mappings (so
    tcp_intranet was the source channel)My Mappings file:
    +++++
    ! MTA mappings file
    ! for access control and other table lookups
    PORT_ACCESS
    *|*|*|*|* $C$|INTERNAL_IP;$3|$Y$E
    * $YEXTERNAL
    INTERNAL_IP
    $(192.168.1.41/32) $Y
    127.0.0.1 $Y
    * $N
    ORIG_SEND_ACCESS
    tcp_local|*|tcp_local|* $N$D30|Relaying$ not$ allowed
    tcp_*|*|native|* $N
    tcp_*|*|hold|* $N
    tcp_*|*|pipe|* $N
    tcp_*|*|ims-ms|* $N
    ! Block "external" submissions of explicitly source-routed "internal" addresses
    tcp_local|*|tcp_intranet|@*:*.* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|*$%*@* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|*.*!*@* $N$D30|Explicit$ routing$ not$ allowed
    tcp_local|*|tcp_intranet|"*@*"@* $N$D30|Explicit$ routing$ not$ allowed
    SEND_ACCESS
    tcp_*|*|*|*@[127.*] $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@localhost.* $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.com $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.net $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@example.org $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.test $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.example $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.invalid $X5.1.2|$NBad$ destination$ system
    tcp_*|*|*|*@*.localhost $X5.1.2|$NBad$ destination$ system
    <IMTA_TABLE:mappings.locale
    NOSCAN_IP
    $(192.168.1.49/32) $Y$E
    * $N
    CONVERSIONS
    IN-CHAN=tcp_noscan;OUT-CHAN=*;CONVERT No
    IN-CHAN=tcp_local;OUT-CHAN=tcp_intranet;CONVERT No
    IN-CHAN=tcp_*;OUT-CHAN=*;CONVERT Yes,Channel=tcp_scan
    ++++++++
    -> A users username/password being hacked so
    authenticated delivery was being used (tcp_auth was
    the source channel with the same username each time)i will see this option but if somebody gets authenticated, i should see in logs?
    Pls help me on this.....
    Thanks
    Prvn

  • Not exactly 'Invisible Mail' problem

    For the past two weeks, I have been receiving mail from several people that have 'empty' messages. I can access the content of the email from any other source, just not Mail.
    I can see the email has arrived in Mail, it shows the sender, time, etc - all information is there - except the message itself (this is apparently not the same as the 'invisible email' issue others have had with SPAM mail - these are legitimate senders). If it is a forwarded message, the forwarded part is there - but the message directly from the sender is missing.
    I assumed this was just a random problem from one sender who was maybe using some updated software that wasn't compatible with Mail, but every day more and more of my senders emails are coming across this way.
    I can see the messages on my iPhone mail client - but not my Laptop Mail client.
    I think this may have started occurring after the last software update.
    Does anyone else have this problem?... solution?
    Thanks!!... Jeff

    >
    How do i merge all the XSL's..... can i use something
    like a master XSL that calls the other 4 documenst
    one after the other.
    Something like <XSL:Import> or <XSL:Include>
    You can import other stylesheets and use the templates they contain. You can also import one or more stylesheets and then optionally redefine any templates that they define.
    <xsl:stylesheet      version="1.0"      
                                       xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                                       xmlns:java="http://xml.apache.org/xslt/java" exclude-result-prefixes="java">
         <!-- import the core functionality -->
         <xsl:import href="../common/generic_csv.xslt"/>
    Some other templating code...
    </xsl:stylesheet>Is this what you are after?

  • Can't Get Mail in OUTBOX to SOST

    I am running the function below. The message get to my SAP OUTBOX but does not get to SOST. I can manually send it to SOST from my OUTBOX. Any suggestions would be appreciated.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'ZAPPAYBL_003'.
      gd_doc_data-obj_descr = psubject.
    gd_doc_data-sensitivty = 'F'.
      gd_doc_data-sensitivty = 'O'.
      gd_doc_data-proc_syst  = '*'.
      gd_doc_data-proc_clint = '*'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function <b>'SO_NEW_DOCUMENT_ATT_SEND_API1'</b>    EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          others                     = 8.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.

    Thanks for the quick response.
    I made the changes and still get a <b>gd_error = 0.</b>
    I also get a 'NO MESSAGE SEND' message. with a green check mark.
    I thought the RSCONN01 sends the email from SOST. In my test the mail gets to my INBOX but doesn't get to SOST. I may be wrong.
    My changed code is below.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          others                     = 8.
    Store function module return code
      gd_error = sy-subrc.
    <b> perform initiate_mail_execute_program.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    Store function module return code
      gd_error = sy-subrc.</b>
    endform.                    " SEND_EMAIL_MESSAGE
    <b>&----
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
        submit rsconn01 with mode = 'INT'
                      with output = 'X'
                      and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM   </b>

Maybe you are looking for

  • How can I find out the server port for a secured FTP site and creating a FTP Connection Manager

    I have to create a FTP Task to go out and get the files that our 3rd party vendor will be dropping on a secured FTP site. I have all the credentials to access that Secured FTP Site and have successfully done so through FileZilla. Now I need to set-up

  • Ext HDD seen by 2011 MBP but not 2014 MBA

    Hi all My GF just unboxed a new 13" MBA. One of the models refreshed last week She wants to set up fresh & just bring over some data from ext HDD's she used with her old MBP. It is a 2Tb Seagate Drive (USB 3), which has an external power supply. The

  • Adding Multiple Signatures before Saving

    Searching for answers regarding Adobe Live Cycle.  Taught myself how to use it the other day and I created the attached form.  These are the requests in regards to the digital signatures: ·        When applying digital signature it prompts for Save A

  • Icloud does not show my itunes

    I log into icloud and the only apps on there are; mail, contacts, calendar, find my phone & iwork Why aren't my itunes on there? Songs, tv shows, movies etc? Thank you in advance

  • Report regarding delivery and sales order

    anyone know of a report where i can see the quantity that is left from partially delivered orders. basically, if i place an order for 100 units and delivery only 50, i wanted a report that showed me the sales order that was partially delivery with th