Sending Status Messages by Email

I am using Status Filter Rules to send warning and error messages via email from several CM07 sites. The process hasn't been consistent.
Messages created by the SMS_Distribution_Manager do not send the entire description field where other components do. I have not been able to figure it out.
I have tried using vbscript and powershell, both give the same results.
Here is what I am doing for distribution manager emails via vbscript.
cscript.exe "C:\Scripts\sendMail.vbs" "myemailaaddress" "%msgdesc"
SendMail.vbs contents:
Const SMTPServer = "IP Address of SMTP Server" ' SMTP server IP address
Const From = "From Address"
Const Subject = "SCCM Package Alert"
Set objArgs = WScript.Arguments
If objArgs.count < 2 Then
 ' All arguments are required
 WScript.Quit(1)
Else
 SendGenericMail objArgs(0), objArgs(1)
End If
Sub SendGenericMail (sTo, sMessage)
 On Error Resume Next
 ' Generate TO and CC recipients based on number of e-mail addresses provided.
 If instr(sTo,";") > 1 Then
  sTo_array = Split(sTo,";")
  kokku = UBound(sTo_array)
  For i = 1 to kokku
   If i <> kokku Then
    CCstring = CCstring & sTo_array(i) & ", "
   Else
    CCstring = CCstring & sTo_array(i)
   End If
  Next
  TOstring = sTo_array(0)
 Else
  TOstring = trim(sTo)
 End If
 Set CDO = WScript.CreateObject("CDO.Message")
 CDO.From = From
 CDO.To = TOstring
 CDO.Cc = CCstring
 CDO.Subject = Subject
 CDO.TextBody = sMessage
 CDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = SMTPServer
 CDO.Configuration.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
 CDO.Configuration.Fields.Update
 CDO.Send
End Sub
Here is an example of the email body then the full message detail.
Email Body:
SMS Distribution Manager failed to process package Law
Here is the full message detail:
SMS Distribution Manager failed to process package "Law Civil Image" (package ID = DIT007A9).
Possible cause: Distribution manager does not have access to either the package source directory or the distribution point.
Solution: Verify that distribution manager can access the package source directory/distribution point.
Possible cause: The package source directory contains files with long file names and the total length of the path exceeds the maximum length supported by the operating system.
Solution: Reduce the number of folders defined for the package, shorten the filename, or consider bundling the files using a compression utility.
Possible cause: There is not enough disk space available on the site server computer or the distribution point.
Solution: Verify that there is enough free disk space available on the site server computer and on the distribution point.
Possible cause: The package source directory contains files that might be in use by an active process.
Solution: Close any processes that maybe using files in the source directory.  If this failure persists, create an alternate copy of the source directory and update the package source to point to it.
Email messages from other component sources have the complete description field.
Can someone tell me what I am doing wrong or what I might be missing?
Thanks,
Steve

Hi,
You may refer to the following links to check if they help:
Sending SCCM Status Messages from MDT Scripts.
Send SCCM task sequence email report
Regards,
Sabrina

Similar Messages

  • Sending text messages to email addresses

    With my previous (dumb) Samsung phone I used to send text messages to email addresses all the time and everything was fine. Now, it turns out that when I send a text message to an email address with my iPhone 4 the phone sends it as MMS instead of text, and the problem with that is that my provider (Bell Canada) charges me extra for these MMS messages. I do not normally use picture or video messaging, but when I'm trying to create a message to an email address with MMS disabled, the phone tells me this cannot be done unless I enable MMS.
    I can receive texts from email addresses just fine and they come in as text messages with no extra charges for me. How can I send a plain text message from iPhone to an email address without going through MMS?

    Dododo, I have your same exact problem, right down to my last cell phone (samsung) that did it perfectly using only my included unlimited texts.
    Has anyone found a solution to this problem? I think it sends them as MMS because bell sends the texts to email from the iphone as words on a notepad-like background that arrives in email as a picture attachment.
    My problem is that I'd like to turn my 3G off when I don't need it, to save my mb's. Therefore sending emails right from the email app is not a viable alternative, when text --> email used to be free on my old, basic cell phone.
    Any suggestions/solutions are appreciated

  • How to send status message in SOAP to IDOC scenerio without BPM

    Hi,
    I have a SOAP to IDOC scenerio in which we require to send the status message back to user from XI that " IDOC has been sent successfully to SAP system"
    We do not want to use BPM bacause of performance issues.
    Can you please help me how to achieve this synchronous response without BPM.
    Note: We require the status message from XI that the IDOC has been successfully posted to WESAP system

    Idoc only support async behaviour. U can't get the Idoc response as per ur requirement without BPM.
    Better to go for abap proxy or RFC.
    Or u may get the ack till XI.
    Regards,
    Prateek

  • Send destination message in email attachment

    I have a source schema(let A) and it is converted into destination schema(let B) through mapping.The destination message is sent to a file location.Now I want to send this destination message in email attachment through c# code.but the destination message
    should be pick up from orchestration not from send file location.
    how it is possible ?

    Are you talking about sending your message as an attachment through the orchestration? Well that is what the SMTP Adapter is for. Refer
    http://winterdom.com/2005/08/smtpadapterinbts2006andhtmlformattedmessages and the official document on SMTP Adapter @http://msdn.microsoft.com/en-us/library/aa578267.aspx
    To receive mails into an orchestration, you should have a POP3 enabled e-mail account, use the POP3 Adapter with the MIME/S-MIME Pipeline Components to pick-up and read the mails from BizTalk.
    Regards.

  • Outllook clients sending partial messages / truncated email body

    I am stumped on this one and could use a little help.
    Several clients are experiencing partially truncated emails both sent and received.
    It is happening on Outlook 2003 and 2010.
    The Sent Items folder also shows the truncated email.
    For instance, lets say I, Mike, type out a 1000 word email to my friend Jane.  Jane receives an email that might only have a few sentences and it might cut off right in the middle of a sentence.  I check my Sent Items and it only shows exactly what
    Jane received which is much less than I typed.  Most of my text has simply disappeared.
    I see others with similar issues but it is usually the entire message body that is missing, not partial text missing.
    I have opened the sent item using the web interface and it is the same problem.
    The Exchange server is 2010 Standard Edition running on Windows Server 2008 R2 and I recently updated all OS patches, Exchange SP3 and Update Rollup 4 for SP3 and my issue remains.
    I have documented at least 1 case where the sender and receiver both have Outlook 2010, although most of my users have Outlook 2003.
    In addition to all the troubleshooting listed above, I have also used every known to me AV scanning tool such as Combofix, RKILL, TDSkiller, MalwareBytes, HitmanPro etc..  Nothing out of the ordinary found. 
    ANY help at all would be greatly appreciated!!!!
    Thanks
    Also, here is a IT admin on another forum with the same issue.  I am copying the text from my post over at experts-exchange
    Same here. Exchange 2010 Standard 14.3 build 123.4 in a Win2008R2 SP1 with all latest updates installed.
    Also this user in this thread has the same problem: Outgoing emails truncated.
    After I read his thread and your thread, I think that it isn't an isolated problem...
    Outgoing messages bodies are truncated. When it happens, only few words or few sentences remained. The rest of the typed text disappeared.
    Affected messages are shown truncated in Outlook and also in OWA sent emails.
    The problem began 2 weeks ago, but now it's spreading.
    For now it seems in my company that only Outlook 2003 clients are affected.
    At the beginning only 1 person reported me the problem, so I thought it was an isolated client problem. I tried to reinstall Outlook 2003, but it continued. Then I tried to install Outlook 2010 for troubleshooting purpose, and in the last week that person didn't
    reported me any problem.
    Then it began to spread. It happened to a different person. And then to another one. At the moment, 5 persons reported it. All these persons have Outlook 2003.
    Maybe an automatic Windows update could have caused the problem in the clients?
    It's hard to find out.
    It seems that the problem is present in emails that take a long time to write them. Maybe the affected sent email is the first one auto-saved... For testing I disabled the auto-saving (every 3mn) drafts function in the affected Outlook 2003 clients. They reported
    me no problem in the last days.
    But I told them to always check sent emails and to continue to do that.
    I will report as soon as I have new feedbacks.
    Fabio

    Turn off "Auto-save messages every XX minutes"
    Outlook sends the saved portion, not the entire email.
    Note: This partial message is not saved in Drafts, but in memory.
    Outlook 2007:
    1. On the Tools menu, click Options
    2. Make sure you are on the “Preferences” tab.
    3. Click the “E-mail Options…” button.
    4. Click the “Advanced E-Mail Options…” button (about half way down the window).
    5. Uncheck  the first checkbox “AutoSave items every:”
    6. Click OK 3 times to close all the windows
    Outlook 2010/2013:
    On the Tools menu, click Options.
    On the Preferences tab, click E-mail Options, and then click
    Advanced E-mail Options.
    Uncheck the AutoSave items every: x minutes check box.
    In the minutes list, specify how often you want the program to save your data and the program state.
    If you set more minutes in there, you only postpone the issue. 
    Turn it off.
    Note:  IMHO it is better to lose work and know it, than to think you sent an email when you really did not.
    Eric Anderson

  • FM to send text message external email (without any attachments)

    Hi Guys,
    Can somebody tell me the function module and share the code to send simple text message email to external email.
    Thanks,
    mini

    U can use FM SO_NEW_DOCUMENT_ATT_SEND_API1. For details check this sample code.
    report zmail.
    Parameters
    PARAMETERS: SUB LIKE SOMLRECI1-RECEIVER
                  DEFAULT 'Subject line'.
    PARAMETERS: EAD LIKE SOMLRECI1-RECEIVER." Mail id
    PARAMETERS: L01 LIKE SOLISTI1-LINE
                  DEFAULT 'Body text'.
    PARAMETERS: L02 LIKE SOLISTI1-LINE.
    PARAMETERS: L03 LIKE SOLISTI1-LINE.
    PARAMETERS: L04 LIKE SOLISTI1-LINE.
    PARAMETERS: L05 LIKE SOLISTI1-LINE.
    PARAMETERS: L06 LIKE SOLISTI1-LINE.
    PARAMETERS: L07 LIKE SOLISTI1-LINE.
    PARAMETERS: L08 LIKE SOLISTI1-LINE.
    PARAMETERS: L09 LIKE SOLISTI1-LINE.
    PARAMETERS: L10 LIKE SOLISTI1-LINE.
    Macro
    DEFINE M_LINEADD.
    IF NOT &1 IS INITIAL.
      TAB = &1. APPEND TAB.
    ENDIF.
    END-OF-DEFINITION.
    Variables
    DATA: BEGIN OF TAB OCCURS 10.
    DATA:   LINE(40).
    DATA: END OF TAB.
    DATA: RC LIKE SY-SUBRC.
    Main program
    START-OF-SELECTION.
      REFRESH TAB.
      M_LINEADD L01.
      M_LINEADD L02.
      M_LINEADD L03.
      M_LINEADD L04.
      M_LINEADD L05.
      M_LINEADD L06.
      M_LINEADD L07.
      M_LINEADD L08.
      M_LINEADD L09.
      M_LINEADD L10.
      PERFORM Z_SEND_EMAIL TABLES TAB USING EAD SUB RC.
      IF RC IS INITIAL.
        WRITE: / 'Your e-mail has been sent successfully.'.
      ELSE.
        WRITE: / 'Your attempt to send an e-mail failed.'.
      ENDIF.
          FORM Z_SEND_EMAIL                                             *
    -->  ITAB                                                          *
    -->  EMAILADDRESS                                                  *
    -->  SUBJECTLINE                                                   *
    -->  RETURNCODE                                                    *
    FORM Z_SEND_EMAIL TABLES ITAB
                      USING  EMAILADDRESS TYPE C
                             SUBJECTLINE  TYPE C
                             RETURNCODE   LIKE SY-SUBRC.
      DATA: DOCUMENT LIKE SODOCCHGI1.
      DATA: PACKLIST LIKE SOPCKLSTI1     OCCURS 0 WITH HEADER LINE.
      DATA: CONTENTS LIKE SOLISTI1       OCCURS 0 WITH HEADER LINE.
      DATA: RECVLIST LIKE SOMLRECI1      OCCURS 0 WITH HEADER LINE.
      DATA: FIELDLEN TYPE P.
      DATA: TABLINES TYPE P.
    Initialization
      CLEAR: CONTENTS, DOCUMENT, PACKLIST, RECVLIST.
      REFRESH: CONTENTS, PACKLIST, RECVLIST.
      RETURNCODE = 12.
    Contents
      CONCATENATE
        'The following message has been sent from SAP'
        SY-SYSID
        SY-MANDT
        '(Do not reply to this message):'
          INTO CONTENTS SEPARATED BY ' '.
      APPEND CONTENTS.
      CONTENTS = SY-ULINE(40).
      APPEND CONTENTS.
      LOOP AT ITAB.
        CONTENTS = ITAB.
        APPEND CONTENTS.
      ENDLOOP.
      CONTENTS = SY-ULINE(40).
      APPEND CONTENTS.
    Document
      DOCUMENT-OBJ_NAME = 'EMAIL'.
      DOCUMENT-OBJ_DESCR = SUBJECTLINE.
      DOCUMENT-OBJ_LANGU = SY-LANGU.
      DOCUMENT-OBJ_EXPDAT = SY-DATUM.
      DOCUMENT-SENSITIVTY = 'F'.
      DOCUMENT-OBJ_PRIO = 9.
      DOCUMENT-NO_CHANGE = 'X'.
      DOCUMENT-PRIORITY = 9.
      DOCUMENT-EXPIRY_DAT = SY-DATUM.
      DESCRIBE FIELD CONTENTS-LINE LENGTH FIELDLEN.
      DESCRIBE TABLE CONTENTS LINES TABLINES.
      MULTIPLY FIELDLEN BY TABLINES.
      DOCUMENT-DOC_SIZE = FIELDLEN.
    Packing list
      PACKLIST-TRANSF_BIN = SPACE.
      PACKLIST-HEAD_START = 1.
      PACKLIST-HEAD_NUM = 0.
      PACKLIST-BODY_START = 1.
      DESCRIBE TABLE CONTENTS LINES PACKLIST-BODY_NUM.
      PACKLIST-DOC_TYPE = 'RAW'.
      APPEND PACKLIST.
    Receiver list
      RECVLIST-RECEIVER = EMAILADDRESS.
      RECVLIST-REC_TYPE = 'U'.
      RECVLIST-COM_TYPE = 'INT'.
      RECVLIST-NOTIF_DEL = 'X'.
      RECVLIST-NOTIF_NDEL = 'X'.
      APPEND RECVLIST.
    Call the mail function
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOCUMENT
                PUT_IN_OUTBOX              = 'X'
           TABLES
                PACKING_LIST               = PACKLIST
                CONTENTS_TXT               = CONTENTS
                RECEIVERS                  = RECVLIST
           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.
      RETURNCODE = SY-SUBRC.
    ENDFORM.

  • I have not downloaded my free pages  yet but would like to send a messages via email know from the notes application but do not know how

    l have not down oaded pages it is being processed however I would like to type up a messages on notes and sent it via e-lmail  can I and how?

    Bottom right corner.

  • How to send a text message via email

    I researched and did some trials and found out i can send multimedia messages via email and not text..
    MMS - 10 Digit [email protected] - WORKS !!
    Text mail - 10 Digit [email protected] - DOESN'T Work.
    Can someone help ?
    Thanks !

    Swapann wrote:
    MMS - 10 Digit [email protected] - WORKS !!
    Text mail - 10 Digit [email protected] - DOESN'T Work.
    Can someone help ?
    Help with what?  It looks like it's working exactly as it's supposed to. 
    If you want to send a plain text message, no formatting, no signature, no smilies, no extra anything, then use plain text mode and send it via vtext.com  If there is a picture, or it's an html email, it needs to be sent via vzwpix.com.

  • When I send messages, my email address as opposed to my name is shown to the recipient.  How do I change that?

    When I send text messages, my email address is shown to the recipient as opposed to my name.  HOw do I fix that?  Thank you.

    My iTunes appleID is an old defunct e-mail address - it does not have to be functional.
    Do what Winston says to ensure you keep getting correspondence related to that ID.
    AC

  • I Can't send a message with JavaMail

    I can't send mail with JavaMail. I Try send a e-mail, for example, to: [email protected], from: [email protected], my smtp: smtp.alunos.ufu.br, but when i try it, i received a message the e-mail [email protected] not in server smtp.alunos.ufu.br.
    I don't anderstend what happen. I need the alunos.ufu.br send my message to [email protected]
    Somebody can help me ?????

    I think the problem is that your smtp server smtp.alunos.ufu.br is not relaying to addresses not local to itself. Please post the exact stack trace. There is some 500 level error being returned by the server that will tell you exactly what is happening.

  • Sending - "The message you atternpted to send was deterrnined to be sparn"

    Hi,
    You can get this response even on a personal email with nothing spam-like. 
    ==================================================
    (User) - Verizon, 1 messages left lo send , [Time]  information
    There has been an error transferring your rnail I said and then the SMTP Server (outgoing verizon.net) said      550 5 71 The message you atternpted lo send was deterrnined lo be sparn. Please visit http //www verizon.net/sparnfaq for rnore inforrnalion
    ===================================================
    The Verizon recommended email fix does nothing.
    [email protected]
    So I sent the email to another address of my own, to troubleshoot, and then started taking out sections, to see what was triggering the spam.
    Turned out to be a link to an encyclopedia entry
    http://haydock1859.tripod.com/id94.html
    In fact, it was a string in there, since it occurred even with a string like:
    "haydock1859.tripod.com/id94"
    with no url hot link.  I did not check further to see if "tripod" was the actual "spam offense".  Once I took out the line, the email went fine. 
    Since this has only happened about twice in hundreds of emails sent, the problem at this time is annoying but not disastrous, however it is a reflection on Verizon, showing a type of bureaucratic stagnation and incompetence. (Never had any such problem with TWC.)
    Anyway,  I suggest my method for finding out the cause.  I use Eudora as my sender, and it makes it clear to me whether the mail was sucessfully sent.  This is probably true for all solid email sending programs.
    Steven Spencer
    Queens, NY

    Since Tripod is a free website provider, I would assume that many messages with tripod.com links would be marked as spam. The Spam Filter is a dynamic system that changes depending on what users think is spam. If it sees urls including "tripod.com" marked as spam enough times, it makes sense that it would eventually start blocking them.
    Verizon can't just tell you how to get around their spam filter, because then it wouldn't stop any spammers.
    Some people have suggested sending the message to [email protected] for investigation. This may work for you as well.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • MPAPI for status messages

    Are there any examples of using the ISMSMessaging classes to send status messages to sccm? I see the status message schema in the sdk, but no examples as to how it should be sent.

    Have you seen Russ's samples?
    http://blogs.msdn.com/b/rslaten/archive/2006/06.aspx
    He has them up about hinv and discovery, that should get you on the right track.
    "Everyone is an expert at something" Kim Oppalfens Configmgr expert for lack of any other expertise. http://www.scug.be/blogs/sccm

  • Sending messages thru email and SMS without using XMS APIs

    Hi,
    I already have some working code that sends messages thru email and SMS. But currently it uses XMS APIs therefore I have a dependency on files like wdk.jar. I want to try and eliminate using the XMS APIs and only use soap to send these messages. I was wondering if there is some documentation available on how I can do this. Also if there a lot of code that needs to be written to do that.
    I primarily want a very simple application that sends only string messages and reduce my dependencies.
    I would really appreciate all the advice.
    Thanks,
    Sonali Nath

    Hi,
    You may refer to the following links to check if they help:
    Sending SCCM Status Messages from MDT Scripts.
    Send SCCM task sequence email report
    Regards,
    Sabrina

  • Message monitoring Status Waiting for email receiver

    Hi Guru,
    Scenario:  SAP ECC will call Error Handling interface class. The communication channel for the Error Handling interface is Email Adapter.
    Below is CC setting:
    Adapter Type: Mail  (Receiver)
    Transport Protocol: SMTP
    Message Protocol: XIALL
    Adapter Engine: Integration Server
    URL: smtp://11.11.11.111/
    Check - Configure User Authentication
    User : user1
    Password: password
    Mail Attributes:
      From: [email protected]
      To    : [email protected]
      Subject : test
      Content Encoding: base64
    I encountered one problem where my email receiver status in message monitoring is always 'Waiting'. I do not know what went wrong in the setting? Does anyone know how to solve my problem ?
    Thanks in advance.
    Regards

    XI tries 3 times before changing the status of the message to System Error. One can Manually resend the error messages by using the RESEND button in RWB. In scenarios where XI was trying to send the message to an end system that was down for maintenance, you would want XI to resubmit the message automatically without human intervention. What would be nice is to able to tune the retries like IS_Retry which is available for Integration engine.
    We can achieve this by changing the retry count used by the Adapter Engine, by default its set to 3 times, 5 minutes apart. This count can be changed in Visual Admin->server->services-> SAP XI Adapter: XI.
    Here  change the number Retries parameter from 3 to 10 and change the retry retryInterval to around 10minutes. For these configuration changes to be picked up, restart SAP XI Adapter: XI.
    please visit the blog
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

  • I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up und one account.

    I have three iPads and one iPod and one iPhone.  How can I message between them without sending the message to all of them.  You send the message to your email address but all of them are set up under one account.

    You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.

Maybe you are looking for

  • A question about page properties

    I am new to dreamweaver going through tutorial. In the book it tells me to modify page properties. The pop up window on my computer shows up differently than in the book. see attachment of screen shot from my computer In the book it is different. 1.

  • In search of Projects based on Lab view.

    Hi,     Iam Chaitanya, pursuing M.tech.. Iam using Lab VIEW,it is a good platform to work in realistic so I interested to do Lab VIEW projects. Can you please suggest projects based on Real-time applications or electronics.

  • BAdI before BBP_REQREQ_TRANSFER?

    Hi all. SRM 4.0, ECS. I need to manipulate some of the values used when transfering the SC data to the purchase order, and without changing standard SAP code in BBP_REQREQ_TRANSFER I need to know if there is a BAdI that is called before this? By debu

  • Reorder Menubar Items?

    I know that some Menubar Items can be ordered as you please by using cmd+click, but almost every single program out there that sticks an icon in the menubar isn't actually a genuine menubar item! As such, they cannot by any conventional means be reor

  • Bank of America

    I have been researching this issue for quite a while. The basic issue is that when trying to login to Bank of America website I get the following error: "Your browser sent a query this server could not understand. " I get this regardless of the brows