Email sometimes does not send

Hi Gurus,
I am sending email and using the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
Why is it sometimes I can receive the email and sometimes I don't?
Is there a configuration that filters the sending of emails?
In transaction SOST, it the status is SENT (with green light), but I do not receive it.
Also, why is the RECIPIENT and the STATUS_TEXT not the same? (in SOST). The recipient is my email address and the STATUS_TEXT has different email address.
Thanks in advance.
Benedict

Hi Atish,
Here is my code.
  wa_objbin = 'salem_marcial'.
  APPEND wa_objbin TO it_objbin.
Creation of email subject
  CONCATENATE text-003 p_gjahr p_rpmax p_bukrs INTO lv_title
  SEPARATED BY c_unsc.
  wa_doc_data-obj_descr = lv_title.
  wa_doc_data-obj_langu = sy-langu.
wa_doc_data-skip_scren = c_x.
  DESCRIBE TABLE it_objbin LINES gv_tab_lines.
  READ TABLE it_objbin INTO wa_objbin INDEX gv_tab_lines.
  wa_objhead = text-005. "2007_016_FR10_HFM_SFeRE
  APPEND wa_objhead TO it_objhead.
Creating the entry for the compressed attachment
  wa_objpack-transf_bin = c_x.
  wa_objpack-head_start = 1.
  wa_objpack-head_num   = 1.
  wa_objpack-body_start = 1.
  wa_objpack-body_num   = gv_tab_lines.
  wa_objpack-obj_langu  = sy-langu.
  wa_objpack-doc_type   = c_dat.
  wa_objpack-obj_name   = c_att.
  wa_objpack-obj_descr  = lv_title.
  wa_objpack-doc_size   = gv_tab_lines * 250.
  APPEND wa_objpack TO it_objpack.
  IF gv_flag2 IS INITIAL.
    APPEND wa_objpack TO it_objpack.
    gv_flag2 = c_x.
  ELSE.
    IF wa_objpack-doc_size > lv_doctemp.
      REFRESH it_objpack.
      APPEND wa_objpack TO it_objpack.
    ENDIF.
    lv_doctemp = wa_objpack-doc_size.
  ENDIF.
  lv_size = wa_objpack-doc_size.
Converts string to ftext format
  CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
    EXPORTING
      text      = space
    TABLES
      ftext_tab = it_objbin.
Converts ftext to binary format
  CALL FUNCTION 'SCMS_FTEXT_TO_BINARY'
    EXPORTING
      input_length = lv_size
    TABLES
      ftext_tab    = it_objbin
      binary_tab   = it_objbin2
    EXCEPTIONS
      failed       = 1
      OTHERS       = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
Entering names in the distribution list
  wa_reclist-receiver = '[email protected]'.
  wa_reclist-express  = c_x.
  wa_reclist-rec_type = c_u.
  APPEND wa_reclist TO it_reclist.
Sending the document
  CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
      document_data              = wa_doc_data
      put_in_outbox              = c_x
      commit_work                = c_x
    TABLES
      packing_list               = it_objpack
      object_header              = it_objhead
      contents_bin               = it_objbin2
      receivers                  = it_reclist
    EXCEPTIONS
      too_many_receivers         = 1
      document_not_sent          = 2
      operation_no_authorization = 4
      OTHERS                     = 99.
Just to clarify, in the outbox (SAP), I can see only 1 attachment is attached. But when I emailed it to my email, I can see 2 attachments (with the MESSAGE.DAT that is not supposed to be emailed). I also used my yahoo account. It also received the MESSAGE.DAT.
Is the message.dat done by SAP standard because I did not use any content_txt? ==> I don't need to write any texts in the email. Only an attachment is needed.
Do I need to use the contents_txt so that SAP will understand that I don't need to use the body of the email?
Thanks in advance.
Benedict

Similar Messages

  • Mail receives email but does not send

    Hi,
    I've just started to use Mail and am now using it to send and receive an email account that I used to run through Thunderbird on my Windows machine.
    Mail can receive email for me, but it won't send it. When I try to send email, first I get an error message:
    “... does not appear to be a valid email address. Please check the address and try again.
    Then another:
    This message could not be delivered and will remain in your Outbox until it can be delivered.
    Verify that you have addressed this message correctly. Check your SMTP server settings in Mail Preferences and verify any advanced settings with your system administrator.
    What's the problem? The settings are the ones I've been using for years. This is the only thing in OS X that hasn't worked yet!
    Any help would be great.
    Cheers,
    Phil

    Hi,
    I just thought I would jump in here because last night I starting having this same problem. I have used Mail for years for my POP accounts (I have about five that I access through the program). I can receive mail; however, I cannot send it. I receive messages like:
    "The server response was: relaying mail to hotmail.com is not allowed"
    When I try sending the mail through my .mac server, I receive a message that tells me I am not recognized as a .mac member.
    However, I can log into my ISP webmail and my .mac account just fine.
    I have tried deleting the account and readding it; this hasn't made a difference to the outgoing error message. I use my ISP server to access email, etc. The Server Port Number I use is 110 for the POP accounts and 143 for the .mac, and I have selected None for authentication. There is a discrepancy in server ports. In the general account information settings, the server number is 25; in the advanced account settings, the server number is 110. Changing both numbers to 110 hasn't made a difference, and I cannot alter the port setting in the advanced settings.
    Additionally, I can send email to myself or any of my accounts through my ISP--it is only messages to email addresses with different ISP's that I cannot send messages to.
    Any ideas?
    Thanks.
    lsb

  • Email thread does not send through to recipient in Mail

    Since changing to a new MBP (running Lion out of the box) from my old MBP (running Snow Leapord) I have had issues with threads in Mail.  When I reply (or forward)  an email, I can see the message that was sent to me while typing and sending. Then when I recieve an email back in the same thread, all that appears is my response to the first email and not the original content. 
    Further when my recipient receives the email, they only see the message I am typing and not the original massage that I am replying to.  They then respond, and all that comes through is the their message and my I message I sent with out the thread.
    When I look in my sent file to see if something has happended prior to sending the email, I can see the thread the way it is supposed to be.
    It seems to be an issue with Outlook users - Mac or PC, but this may not be the case.
    The issue is restricted to my Mail (or MBP) and not other Mail users in my office.  I have no issues using my iPhone and can see and send the thread and receipents can as well.
    Help would be greatly appreciated.
    Thanks

    ALSO, When I do send email from my iPhone, it does not add it to my "sent" in Outlook.

  • Aol receives email but does not send emails.

    I was having a problem with my AOL account set up on my droid's and could not send emails out.  I went all over the web and could not find an answer.  I went to Verizon store today and I kid you not an hour later we got it to work.
    Go to app menu the lower middle circle triangle
    go to settings
    go to accounts
    click on AOL email
    go to outgoing server
    smtp.aol.com
    port-465
    username
    pass
    and check both squares
    use secure connection and verify cert..
    I hope this helps someone too!!
    Good luck!

    Thanks for that advice, and I'm glad it worked for you.  When I first got the Droid X, I had a problem with my AOL mail not getting to my phone quickly (sometimes it took a day or longer), and occasionally, the mail would not send.  I started using K9 email app from the Market, and the mail gets to me within a few minutes (most times) and I've had no problems sending mail. 

  • My send email vi does not send the email out

    I am trying to send an email notification and using labview's example vi to send. In the server response everything looks great. It also says "Queued mail for delivery", but I dont' get any email back.
    I am sending the email to myself, and also tried sending to other people, but it just doesn;t work. Are there any issues with the server authenticity?

    Are you using the 'E-Mail Notification.vi' example? This example creates
    a return address based on the server response. Can you try replacing
    the generated return address with the email address you are sending to?
    Don't know for certain whether that will make a difference with your
    mail server. I think the servers we had trouble with were some flavor
    of microsoft; they bounced messages from [unknown user]@[mailserver].
    What mailserver?
    Matt

  • Email Outbox does not send recently created emails.  Stopped overnight.  Inbox still updating OK

    Droid 2 has stopped sending corporate emails created on phone.  Retrieves mail, doesn't send.  Three important emails now trapped in Outbox.  How do I send them?

    Thank you jasnmar. SuzHof, I recommend a factory reset, if you have confirmed all settings for your corporate E-mail are correct. No worries, your contacts and apps should be automatically backed up to your Gmail account, so once you log back in after the soft reset, all should be there for you. To do a factory reset, please follow these steps: 
    From the main screen, touch the "Applications" tab (Located at the bottom of the display).
    Touch "Settings" 
    Touch "Privacy"
    Touch "Factory Data Reset"
    Touch "Reset Phone" 
      If presented, enter the current passcode or draw the unlock pattern
    Touch "Erase Everything."
    Or, if you prefer, you can: 
    Press and hold the Power button
    Touch Power off
    Press and hold the Home key + Power button simultaneously
    From the Recovery screen (exclamation point with an android figure), press the Search key.
    Touch wipe data/factory reset then touch Ok (located in the lower left)
      If the touch screen is not functioning, utilize the Volume keys (up/down) to highlight and the camera key to select. 
    Touch Yes -- delete all user data then press Ok
      Allow the factory reset process to complete (approximately 1 minute)
    Ensure " reboot system now" is highlighted then press OK
    Thanks, 

  • Alert email notification does not send

    Hi,
    I have a problem with outgoing email alert notification.alert email just sent to site owner group with full access permission, but I config send alert me on list that send email immediately to all users of this site.
    could anyone help me to resolve this issue?

    As I know, you can only configure user/email address for 'Send Alerts To'.
    SharePoint Group is not allowed in subscribe alert screen. 
    How did you configure alert? can you explain a bit here.
    Please check if all your user has email address in their profile? 
    please 'Propose as answer' if it help you, also vote this as helpful if you like this reply.

  • Email client does not send email (gmail account)

    I configured the email account correctly and can see inbox emails. The problem occurs when sending out emails. It keeps trying without giving any error so I have to kill the app to use the client again.
    I have a double secured gmail account but I created a unique signin password for this client

    Hi Gabriele Vidali,
    I used the double-secured feature on my Gmail account and then created a unique password for the Mail app in my Firefox OS device with Flame v2.0.
    I was able to send and receive emails from my double-secure Gmail account with no problems. I didn't receive any errors when sending the email, and the automatic sync worked correctly.
    Where did you download version 2.1 from?
    I would suggest rolling back your Flame device to at least version 2.0. The version that you are currently using is still very unstable, and it's still actively being worked on, so it's not uncommon that features and apps will break.
    Version 2.1 is scheduled to be Feature Complete on October 13th, and then there will still be stabilization and optimization work done on it. Mozilla's code on version 2.1 of Firefox OS is scheduled to be Code Complete on November 21, 2014 - so there's still a lot of work to be done on that version. =)
    I hope this information is helpful. Please let us know if you are still having issues sending and syncing your emails on more stable versions of Firefox OS.
    Thanks,
    - Ralph

  • AT&T Palm Pre Plus email does not send reply

    I sync to my exchange server.  If I create a new email message it sends fine, If I forward an email it sends,  if I reply or reply all to an email it does not send unless I open the message from the outbox.  forward it to the same or different addres and it will send the original reply to plus the forward.
    Post relates to: Treo 750 (AT&T)

    I sync to my exchange server.  If I create a new email message it sends fine, If I forward an email it sends,  if I reply or reply all to an email it does not send unless I open the message from the outbox.  forward it to the same or different addres and it will send the original reply to plus the forward.
    Post relates to: Treo 750 (AT&T)

  • If email receiver does not use thurderbird(with enigmail), can my email be traced back or spied by third party? is it meaningless if just me as a sender use thu

    if email receiver does not use thurderbird(with enigmail), can my email be traced back or spied by third party? is it meaningless if just me as a sender use thurderbird with enigmail enabled?

    Looks like the link you originally clicked was a scam to get you to submit your username and password.  I reckon the email from Google was legit (because it did not ask you to enter your username and password, but advised you to change your password.)  So it looks like they did actually block a sign-in attempt.  Sometimes, scammers do send out emails like this, but they are the ones which ask you to sign in again (because it's those details they are after).
    Given that you've changed your password three times you should be safe.  The golden rule is never submit usernames and passwords when prompted from an email - it's almost certainly a phishing attempt designed to get hold of your details.

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • I have another apple ID but I forgot the password and apple does not send the link to reset it to my email. What do I do to have it back?

    I have another apple ID but I forgot the password and apple does not send the link to reset it to my email. What do I do to have it back? It is really important.

    If you know the answers to your security question for the ID you can use that method to reset the password rather than email (by going to https://iforgot.apple.com/password/verify/appleid).
    If you don't, you'll have to contact iTunes Store support for assistance: http://www.apple.com/emea/support/itunes/contact.html.  They frequently deal with Apple ID issues.

  • Mail does not send email

    My problem is simply that Mail does not send email.
    I have just migrated from iMac G5 to iMac Intel by using Migration Assistant. Everything else works just fine and I can receive email. However, if I try to reply, forward or send a new email message, Mail just does not do anything - no error message, nothing.
    The fixes I have tried so far are removing the Mail plist file, repairing disk permissions and mailboxes. Of course, I have checked the account settings, especially outgoing server settings. I also reinstalled Mail application with Pacifist. None of this has solved the problem. I have tried sending email with Thunderbird and it works with no problems.
    Does anybody have any suggestions how to fix this issue?
    The OS is 10.4.8, Mail Version 2.0.6 (749.2/752.3), all the suggested software updates done.
    iMac Core Duo 20" 2GHz   Mac OS X (10.4.8)  

    Reinstalling Mail is rarely necessary or appropriate to solve a problem. It certainly cannot fix anything that could be wrong within your home folder or at the server or with the network, and may even introduce new issues if not done properly. Moreover, in Mac OS X 10.4 you don’t need Pacifist to reinstall Mail, you could also do it as described in the following article:
    Custom installs in Mac OS X 10.4
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, if the version of the system software on your install disks is earlier than what you’re using now (and only in that case), then you must also reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, to bring Mail back in sync with the rest of the system:
    About the Mac OS X 10.4.8 Combo Update
    Mac OS X 10.4.8 Combo Update for PPC
    Mac OS X 10.4.8 Combo Update for Intel
    The above won’t solve the problem. It’s just to ensure that you’ve properly reinstalled Mail, which you shouldn’t have done, and which apparently you didn’t do properly -- the version of Mail on your system should be 2.1.1, not 2.0.6.
    The original problem could be caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, this other article provides links to some utilities that can be used for troubleshooting and cache cleaning:
    Resolving Disk, Permission, and Cache Corruption
    It seems that the most appropriate utility for solving this particular problem is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • Apple not recognizing known password.  Iforgot does not send email verification.  Help please.

    Apple not recognizing known password.  Iforgot does not send email verification.  Help please.
    Don't know any other way to put it.  I typed in the correct password.  Now the account is locked.  Iforgot does not send an email verification.  The email is not in the junk mail or anywhere else.  It is typed correctly.  This is frustrating.  I was just trying to update the Ipad Mini.  I wanted to change the ownership to my husband and noticed that my daughter attached a new Icloud account.  I was just trying to verify her account.  I have the correct password.  Now the account is locked out.

    I figured it out.  It's a little confusing.  I was trying to add a new email address for iCloud and I was supposed to type in the main iCloud user ID and password.  The wording is not helpful because it displays the name of the new email address.

  • Forgot my security question and apple does not send email

    forgot my security answer and apple does not send email for the instrctions to reset

    Click here and request assistance.
    (76924)

Maybe you are looking for

  • Safari and ICloud locked and frozen

    Safari has stopped working on my I-Pad mini. It just sows a grey screen and is completely non functional. If I open Settings and select Safari. Settings locks and becomes frozen also. I have to double tap the main button to close both Safari and Sett

  • How to access and control a Windows 7 computer from a Mac - long distance?

    I bought my parents their very first computer. They are 2000 miles away in another state. Currently I have the computer in my possession to "set-up" everything so it is as seamless as possible when they receive it. It is an HP with Windows 7. I have

  • I keep getting error code 0x800700570 when trying to install Windows 7 via BootCamp.

    I have tried several times to install Windows 7 on an iMac 3.4 GHz i7 running 10.7.2. I have installed Windows several times in the past to other computers without problems. I have tried 4 or 5 times and removed the partition in between each attempt,

  • Embedding interactive swf into a Tumblr post?

    Hi everyone, This is my first post/question. I'm trying to figure out if I can embed an interactive swf (with basic AS3 Code Snippets added to movie clips) into a Tumblr post. I found this post which explains how to use Dropbox as a repository for th

  • Regarding the issue with mater-detail table rows

    Hi, I am using Jdeveloper 11.1.2.1.0 I have a master - detail relationship based read-only tables in a page. When i execute the master view using the bind variables , I also use a stored procedure to generate additional values to detail view rows usi