Mail not being sent for a background job scheduled.

Hello all,
We have a report which is scheduled in background. The job runs for every 10 mins in development server and sends the status to various mail IDs. The job runs successfully and the status shows as 'FINISHED'. But users are not able to recieve the mail.
Mails are sent using the FM "SO_DOCUMENT_SEND_API1".
When the debug the report everything works fine and the user recieved the mail. Any pointers to this would be of great help.
I tried searching in SDN for existing posts but could not find any relevant thread.
Thanks in advance.
Regards,
Chandra.

Hello,
PFB piece of code showing how the FM is called.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
         EXPORTING
              document_data       = wa_doc
              sender_address      = wf_sender
              sender_address_type = 'SMTP'
         TABLES
              packing_list        =  it_paklist
              object_header    =  it_obj_head
              contents_bin      =  it_obj_bin
              contents_txt      =  it_obj_txt
              receivers          =  it_obj_rcv.
Also , please note that this report has been scheduled some time in last year i.e. 2008 and it was running successfully by sending mails. But from past 2 months the report is not sending mails.
Regards,
Chandra
Edited by: Chandra A on Sep 7, 2009 2:17 PM
Edited by: Chandra A on Sep 7, 2009 2:17 PM

Similar Messages

  • Mail not being sent for background job spool

    Hello All,
    I have created a back ground job by adding a mail id in the spool receipient list. The job has finished successfully and spool is created but the mail has not been sent I have checked SOST transaction and no mail has been sent to this mail id.
    This is only happening for some jobs other jobs are able to successfully send the spool as mails to the mail id's mentioned in spool receipient list.
    I would like to know why this is happening only for some jobs and how can I check the whether mail has been generated or not.
    Your replies will be greatly appreciated.
    Thankyou,
    Ranjan

    Hi
    To check whether mail is generated you can create dynamic break-point with SAAB transaction.
    Using this transaction you create a memory area for your jobs where you can load any data value of your report..
    Probably something goes wrong with COMMIT of Mail Function module system.
    Hope to help..

  • EWA Report not being sent for two systems

    Hi Experts,
    We are having one issue in EWA Report in solution manager. Searched hard but could not find solution.
    Our solution manager is configured to provide EWA for 4 systems- ECC, BW, PI and Solution manager itself.
    The configurations are in place to the extend that we are able to view the weekly reports in Solution manager.
    Issue is -
    1. We are able to recieve mail notification for Solution Manager and ECC but not able to get for BW and PI.
    2. The ECC report is coming ok, but Solution manager report is blank.
    The places I checked the configuration -
    1. SDCCN for all systems.
    2. SOLMAN_EWA_ADMIN - all systems active and chcked for EWA
    3. Background Jobs for all systems -Maintenance Package, Refresh Session, Earlywatch Alert for Solution Manager
    4. Background Jobs related to the task including SM:EXEC SERVICES
    Later on I deleted and rescheduled the job SM:EXEC SERVICES to make sure it covers all systems.
    Data is visible in Solution Manager but report is not being sent over mail for two systems- BW and PI.
    Solution manager report is being sent but empty.
    Please suggest.
    Regards,
    Sabita

    Hi,
    what is your ST verison? check this note applicable or not
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1496931|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1496931]
    and chek the version of your service updated ST_SER too, patch this also solve the issue
    refer this [Note 1482818 - Service updates ST-SER 701_2010_1|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0001482818&nlang=E]
    Jansi

  • Solved Problem - mail not being sent and kept in Outbox....

    I've posted a few messages here about mail not being able to be sent and kept in the Outbox.
    It is solved. I believe.
    Everything seems to be back to normal. I guess it was a problem of me over stepping limitations for .Mac e-mail, and getting locked out for a 24 hour period. So, I will be more care next time I need to e-mail large files to numbers of people ! Probably will invest in something like Stuffit and use there compression facility to reduce the size of files I want to send over the internet and via e-mail.
    Thanks to those who took interest and gave advice.

    You don't have to invest in Stuffit.
    Built-in compression is included with the Finder.
    To compress files before sending them, use the Archive command in the Finder's File menu. Select the file or files you want to compress, then choose File > Create Archive.
    A compressed archive of the files is created. If you archive a single item, the archived file has the name of the original item with a ".zip" extension. If you archive multiple items at once, the archived file is named Archive.zip.
    Recipients can open the archive by double-clicking regardless the platform - Windows or OS X.

  • Trigger mail for cancelled background jobs scheduled using SM37

    Dear Experts,
    My requirement is to trigger email whenever a job gets cancelled in background.
    For this I have already tried creating a workflow using BO BPJOB for event ABORTED.
    But for some reason the event is never getting triggered.
    I tested executing the workflow from tcode SWDD, it was running successfully, which means that there is no issue with my workflow.
    Now I want to resolve the above issue   OR
    I want to raise the event manually from the program through some BADI or Exit.
    But I didn't find any BADI or Exit for tcode SM37. Can anybody let me know if any.

    Hi,
    Please refer the below links.
    Workflow- Background job fail
    Re: Send mail when job fails
    Regards
    GK.
    Moderator message: please do not post just links without any further explanations.
    Edited by: Thomas Zloch on Sep 20, 2010 11:53 AM

  • Mail not being sent by phone

    My iPhone is giving me a pop-up that says, "Cannot send mail" and says that "the sender address was invalid."
    I've sent mail without problems with my iPhone for a year now and this just began to happen.
    Whats up?
    Jeremy

    Hello all
    I've had the same problems not being able to send (and sometimes receive) mail as well. I have three email accounts set up on my phone, and I noticed that one of the accounts worked, but not the other two. That tells me that it's not a defective iPhone as I first suspected. What I found out is that on the account that works, the SMTP Server Port Setting is set to 25. On the two accounts that weren't working, the Server Port was set to 587 and that's why I couldn't send out email. After changing the settings on both non-working email accounts, everything now works perfectly.
    So, if you go to Settings>Mail, Contacts, Calendars>Accounts>Outgoing Mail Server SMTP>Primary Server>Server Port: 25
    This worked for me. Hopefully it'll work for all of you here and anyone else with this problem.
    Good Luck!
    Warmest Regards,
    Mike.

  • Mail not being sent

    Every day this debacle gets worse, mail says its sending my mail but it isnt, sent box is empty, I sent email to myself at Yahoo address and guess what it never arrived. I sent quite a few and none got through. So I logged into me.com and checked my mail there. My mail box there was at least a month out of date. None of my test messages were showing and the messages showing I had deleted weeks ago. Good effort Apple.

    Seems to be a perennial problem with Mail. I've posted this before, but it seems it may be needed again. Start at the top and work your way through the solutions. Hope it work...
    There's been a lot of this around. I was composing a post on how to solve the problem of not sending out email, maybe to have it posted somewhere useful. It's not finished, but I'll paste it below. It's designed for the non-techie, so some of the advice is quite basic.
    The Mail application seems to have bugs and be prone to corruptions after software updates have been installed. Being unable to send messages has crept up sporadically since January 2007, and a lot of people have offered advice - but it can take hours to trawl through. This is a distillation of some of that advice...
    Some glitches can be solved by fiddling around with settings and preferences, some involve reinstalling Mail or switching to a new email software program.
    If your email provider has a webmail service, log on to that and try sending a few messages. If they fail, contact your email provider. If they do get through, the problem is probably on your Mac, so it's time to start fiddling.
    Before you do anything, close your Mail application and back up your Mail accounts and settings to a memory stick or CD.
    To back up your messages and mailboxes:
    Open a Finder window, click on the house icon which has the name of your computer or user name next to it. Then click Library, grab the folder called Mail and copy it to your memory stick.
    To back up your Mail preferences (called a 'plist'): Look in Library for the folder called Preferences. To save the preferences of all applications, drag the whole folder to your memory stick. To back up just the Mail prefs, open the folder and copy the file named com.apple.mail.plist.
    Eject your memory stick and then open the Mail program.
    Start fiddling.
    In Mail, select the menu Window, then Activity viewer. Now under the same menu, run Connection Doctor. Note down the results. Quit Mail.
    Mail could go wrong because of problems glitches in other parts of the computer's software. The reason is that Macs seem to be programmed to repair themselves in the middle of the night and some diagnostic routines only run every few days and weeks, so you can't second guess when they are going to happen. So if you save the planet by turning off rather than leave the computer in sleep mode, the computer will never self-diagnose and repair itself. Try downloading a small free/shareware program that tells the computer to diagnose and repair when you power up. It doesn't slow you down and just adds a few clicks and whirs your first few minutes of computer use. I use Anacron, for no better reason than it was the first one I came across. The download page is at http://members.cox.net/18james/anacron.html, but I'm sure there are others available.
    But to diagnose and repair immediately, go to your Utilities folder (it is in the Applications folder, or in Finder select the Go menu and click Utilities from near the bottom). Select Disc Utility. When that opens, select your hard disc in the left hand pane. Run Verify Disk Permissions. Then Repair Disk Permissions. Then Verify Disk and Repair Disk (you may have to start up using your Mac installation disk to do it). Open Mail.
    Plain text
    Try sending a message again. If it fails, delete it and compose a new message, then send it as plain text (look under the Format menu, fifth item down). Send message. If it works, you may have to reinstall Mail to get back the ability to send messages formatted as rich text.
    Server settings
    Open your Mail preferences and select the Server Settings in the Outgoing Mail Server pane. Write down the settings as you see them, or use the screen grab shortcut (use apple+tab to select Finder, then hold down apple+shift and press the number 3 to take a screen-shot, which will be saved to your desktop, then tab back to the Mail program). Then fiddle as follows...
    Ports
    Some internet service providers (ISPs) change the ports through which they will accept messages - and don't tell the users. Phone them up and ask if they've changed the server settings, and of they're blocking messages from certain ports. If no joy, try changing the port setting to one of the following, then quit and restart Mail before trying to send a message. Note, some of the ports may require you to tick the Use SSL box, some don't - so experiment. Possible ports: 25, 465, 587, 992, 995 (SSL).
    Password authentication
    Sometime passwords get corrupted, so you need to fiddle with it. Even if your ISP doen't require a password, turn on password and input the log on name and password your internet service provider gave you (possible those used for your POP settings). Mail will ask you for your password when you send a mesage. Enter the password but don't add to keychain. Do this for a while (hours, days - the option depends on success rate, not sure why) then turn off the password authentication. This removes the corrution and resets the preferences - so again save the Mail plist to memory stick (use a new location rather than over-writing the old plist).
    Certificates
    You may also get a message saying there is a certificate problem with your email connection. So solve this, open Mail's preferences and to Advanced. If the box Use SSL is checked, the por tnumber is anything other than 110, and the Authentication is set to anything other than Password, try this: Uncheck Use SSL. The port number should revert to 110 - if not, change it manually. Change Authentication to Password. Close and save preferences, quit Mail, restart Mail, send a message.
    That's as far as I've got.

  • E-mails NOT being sent by me!

    Two e-mails have been sent out apparently by me (but not actually by me) recently to all in my address book.  They are telling people to click on a link contained in the message (both different) links.
    Could somebody tell me how I can stop this please?  This seems to be spam in reverse!
    Regards
    Kathy

    kathypink wrote:
    Two e-mails have been sent out apparently by me (but not actually by me) recently to all in my address book.  They are telling people to click on a link contained in the message (both different) links.
    Could somebody tell me how I can stop this please?  This seems to be spam in reverse!
    Regards
    Kathy
    Hi Kathy. Welcome to the forums.
    Please can you go a alter the password for your account - my shortcuts option 3, or via option 12a takes you there.
    Whilst you are in webmail, go to Options/Mail (or More) Options and click on POP & Forwarding, to make sure that nothing has been set to forward the BTYahoo! Mail.
    It sounds like someone (a hacker) has managed to get the password to your account, hopefully you've not fallen for a phishing scam - where an email pretending to be from BT may have requested you to enter username/password.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Campaign e-mails not being sent

    Hi,
    I am having a problem sending out e-mails from a Contacts List. The campaign report shows that all e-mails have been sent eg 5 when there are 5 contacts in the list. However the e-mails are not actually delivered. Strangely when I send a one off e-mail using the Send one copy to: function the e-mail is delivered. Are these methods using different services?
    We are on SP1 Patch 1 and SAP B1 2007A patch 46
    Can anyone help?
    Regards  Martin

    We do have almost similar problem. This is on SQL 2008.
    when sending a Marketing Campaign with contact list type Emailing List, the emails in the log file
    of the campaign show as sent, but in reality no emails are received.
    We have configuted the SMTP(from Config Settings), the port is open. We used different email servers
    for a test, and none of them were able to solve the issue. All setup has been done according to
    documentation. The DSN is configured as well.
    As soon as we send the campaign, the email posts as send, the number of emails on the top of the
    Campaign Screen on the Assign tab shows one email, and on the bottom is the time and date stamp of
    sent emails. However, the Campaign REPORT shows no Sent messages and we have not received an email.
    The client is using Microsoft Exchange with an outside provider.
    Can someone helpout. We tried all the necessary steps can anyone help out on this issue.
    Thanks.
    Maddy

  • IPad 2, mails not being sent when using reply to all feature

    Hi,
    Under BYOD we have iPads being allowed in our office environment. We have Lotus Notes Traveler servers setup for email access.
    We are facing an issue with one executive users iPad 2 in the mail app.
    The issue is when user is on WIFI and uses a long signature in the iPad and does a "reply to all" to any mail the mail goes and stays in the outbox.
    Single reply or composing a new mail works fine. If we remove long signature, then "reply to all" works fine.
    This issue is only with Wi-Fi, on GPRS everything works fine with long signature or without.
    The iPad is on iOs 6, we tried resetting and restoring the iPad but the issue still persists.
    Would really appreciate if you all could help me solve his issue.'
    Thanks

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this: Delete the account in Mail and then set it up again.
     Cheers, Tom

  • E-Mails Not Being Sent

    I have a process where users can click on a button that
    should automatically generate an HTML file, attach it to an e-mail,
    e-mail the customer with the attachment, and clear an alert.
    Most of the time this works smoothly, but every so often the
    e-mail won't get sent. The alert will be cleared, but no email.
    It's not the same customer, just very random.
    I am using CF 4.5, I don't know if that matters, but it
    might. Does anyone know why this would be happening?
    Thanks!

    So this morning the hoopla really hit the fan.
    All those missing e-mail were sent out at 3pm yesterday from
    one of our servers. The server that didn't have the mailsent.log
    file. All of a sudden it has the mailsent.log file.
    It looks like a whole lot of this:
    "Information","TID=1420","09/16/07","15:10:48","[email protected],j-johnston@suddenlin kmail.com"
    "Information","TID=1420","09/16/07","15:10:48","[email protected],[email protected] "
    "Information","TID=1420","09/16/07","15:10:48","[email protected],[email protected] "
    "Information","TID=1420","09/16/07","15:10:48","[email protected],[email protected] "
    "Information","TID=1420","09/16/07","15:10:48","[email protected],[email protected] m"
    "Information","TID=1420","09/16/07","15:10:48","[email protected],[email protected] m"
    "Information","TID=1420","09/17/07","08:08:30","[email protected],[email protected]"
    And then in the mail.log file are some e-mail that didn't get
    sent, it looks like this:
    "Error","TID=1420","09/16/07","15:08:23","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\AB4.cfmail. SMTP server
    replied "Message is not RFC compliant" Moved file to
    C:\CFUSION\MAIL\undelivr\10B1.cfmail."
    "Error","TID=1420","09/16/07","15:08:23","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\ABB.cfmail. SMTP server
    replied "Message is not RFC compliant" Moved file to
    C:\CFUSION\MAIL\undelivr\10B2.cfmail."
    "Error","TID=1420","09/16/07","15:08:23","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\AC2.cfmail. SMTP server
    replied "Message is not RFC compliant" Moved file to
    C:\CFUSION\MAIL\undelivr\10B3.cfmail."
    "Error","TID=1420","09/16/07","15:08:24","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\BBC.cfmail. SMTP server
    replied "What? I don't understand that." Moved file to
    C:\CFUSION\MAIL\undelivr\10B4.cfmail."
    "Error","TID=1420","09/16/07","15:08:25","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\BCA.cfmail. SMTP server
    replied "Communication failure with mail server." Moved file to
    C:\CFUSION\MAIL\undelivr\10B5.cfmail."
    "Error","TID=1420","09/16/07","15:08:26","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\C53.cfmail. SMTP server
    replied "Communication failure with mail server." Moved file to
    C:\CFUSION\MAIL\undelivr\10B6.cfmail."
    "Error","TID=1420","09/16/07","15:08:27","Failed to send the
    spooled mail file, C:\CFUSION\MAIL\spool\C5E.cfmail. SMTP server
    replied "Communication failure with mail server." Moved file to
    C:\CFUSION\MAIL\undelivr\10B7.cfmail."
    And it gets better. When I look in the UNDELIVR folder, those
    messages, that couldn't be sent at 3pm yesterday when all the other
    ones were sent, have a modified date the same as the date they were
    originally supposed to be sent out on. All the e-mails that were
    supposed to be sent out last week and were finally sent out
    yesterday have this same attribute.
    Does anyone know what's going on?!
    Thanks!

  • Outgoing mail not being sent

    when replying or sending a new mail, the outgoing sits there an doesn't go out

    dubwhitt,
    I am going to assume you're using Apple's mail client as it's on version 4 in Snow Leopard. The easiest thing I can point you to, is Apple's own site to give you a step-by-step walkthrough for trouble shooting those email addresses.
    1. Go to this link http://www.apple.com/support/macosx/mailassistant/
    2. Selecting Mac OS X Snow Leopard
    3. Enter one of the email addresses that isn't working. I believe your gmail account is one of them.
    4. Click continue on the bottom.
    5. Follow the instructions Apple provides, then select the third option "I want to verify settings on an existing account"
    6. Follow Apple’s instructions again.
    See if this solves any issues.

  • Why is my e-mails not being sent or received?

    Where are my e-mails?

    Hi!
    Most people have their email service provided a large company like Google (Gmail), Yahoo, Microsoft (Hotmail or Outlook) or similar.
    Do you know which company provides your email service?
    If not, could you please tell us the end portion of your email address (just the part from the @ symbol onwards).
    Thanks!

  • Mail nots being sent because of SMTP?

    Hey all I had to reset my Mail which caused my Server Ports to all go default. Does anybody know what the server port should be for the SMTP so that it will send mail out. Mine is set at 25 and I got help once with it and changed it and it fixed my problems. So if anybody knows of any server ports to try I would greatly appreciate it. Thanks again

    Is this email account and SMTP server provided by your internet service provider or other?

  • HT1920 Email is not being sent for reset security questions?

    When I click send reset security questions to t********@gmail.com I do not recieve an email. I checked the spam and all other inboxes but still nothing. Anyone able to assist with this or have had a problem with it in the past.
    ~Thank You

    If you aren't receiving the email (you've tried clicking the reset link again ?) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699

Maybe you are looking for

  • Adobe kann meine Kreditkarte nicht belasten

    Hi, bekam eben eine Mail von Adobe das meine hinterlegte Zahlungsmittel (Prepaid Kreditkarte) nicht belastet werden kann. Die Karte verfügt aber über genügend Guthaben und eine Transaktion steht auch auf der Adobe Seite wenn ich unter meinem Abo nach

  • Troubles installing drivers for my X-FI Xtrememusic c

    The Setup program for the soundcard states the following error when I try to install the drivers. Heading: Error Error message: Setup is unable to detect a supported product on your system. Please ensure that the product is properly installed before

  • Adobe Air application installation using the bundled runtime installer

    Hello. We plan to develop application for different platforms with Adobe Air and testing installing Air applications with bundled runtime installer on different platforms. It's ok with Windows and Mac OS, but we got troubles with "silent" installatio

  • Doubt Regarding IDOC generation

    IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. where can i see the generated IDOC's in R/3.

  • Files in ABAP

    Hi all, How to work with file interfaces. OPEN DATASET etc. I want to upload file data into internal table from Application server? Thanks in advance.