Alignment problem in sending an attachment file as a mail

Hi,
  My requirement is to send a mail where i have the data in an internal table.
the .txt attachment file is sent properly no problem in that. But the text inside the file is not alligned properly.
For eg if i have 5 records in the internal table which iam going to send as an attachment then 5 lines should exist on the attachment file.
But for me what happens is
for eg the first two records in the internal table is like as follows.
record 1 : my name is rose
record 2 : iam working in SAP ABAP consultant.
These lines are coming in the attachment file like
line 1: ame is rose  (some spaces are given then it prints) my  n
line 2: n SAP ABAP consultant (some spaces are given then it prints) iam working i
can anyone tell me why this happens . i want the lines to be  displayed as  it is in the internal table.
can anyone tell how to solve this problem. Thanks...
Regards,
rose.

Hi camila,
visit this thread
Alignment in mail body
regards
Anup.

Similar Messages

  • Sending an attachment with an e-mail

    Does anyone know how to send an attachment with an e-mail
    using a
    form page that is on our web site? I am using the TYPE
    attribute of
    the form tag as "File" to get the file I want to attach to
    the e-
    mail. Below is the code I have. The first page is where the
    user can
    click the browse button to search for a file to attach. The
    second
    page is where the e-mail should be sent to. Thanks for your
    help.
    Andy

    Ian,
    Do we have to set a folder up on our cold fusion server or do
    we just
    make a folder under our web site so when a user clicks on the
    browse
    menu, the file they attach has to be saved to our server
    first and then
    I can attach the saved file to an e-mail? How do we create
    this folder?
    Does it have to be an FTP site or just a folder on our web
    site? How do
    we make the permissions work correctly since a folder under
    our web site
    is not writable to except by the web editors that work here?
    Please let
    me know what I can do to get this to work. Thanks.
    Andy
    You can use any folder on the CF server or any system to
    which it has
    access. By default the CF service runs as a localsystem user,
    so would
    generally only have access to the local server file system.
    This is
    determined in the Services panel on window systems, I'm not
    sure how it
    works for other OS's.
    If you are talking about the "Browse" button that is
    displayed in the
    web page for the <input type="file" ..> that does not
    browse the server,
    it browses the local user's system. You do not and can not
    influence
    this in any way. When a user selects a file from their system
    and
    submits the form, the file is uploaded to the webserver
    through the HTTP
    response header or URL query string, depending on whether the
    form is a
    post or get form.
    You then use the <cffile action="upload" ...> tag on
    the form's action
    page to get the file from the web server and write it to a
    location you
    define the "file" parameter of the flag. This file system
    access is
    done under the permissions of the ColdFusion server, again
    'LocalSystem'
    by default.
    You can then use this newly saved file in you <cfmailparam
    ...> tag to
    attach it to an email. After this if you like you can use a
    <cffile
    action="delete" ...> to remove the file.

  • Safari 5.0 freezes after attaching files in Yahoo Mail

    Since upgrading to Safari 5, I cannot use Yahoo mail after attaching a file to a message. The program acts like there is a dialog box open and it is waiting for a choice to be made, but there is no dialog box.

    HI,
    BrowserPlus is causing problems when attaching files to Yahoo mail. It's not compatible with Safari 5.
    Read here for help to uninstall BrowserPlus:
    http://help.yahoo.com/l/us/yahoo/browserplus/uninstall.html
    Carolyn

  • I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back???

    I used to have a indicator of time when attaching file in Yahoo Mail...I no longer have that in Safari 5.1.5...How can I get that indicator back???

    I tried to find help with the support by web chat for 2 days already, but every time it says that chat is un available (even if it's suppose to be 24/7)... I dont know what else to do.... please help!

  • Workflow- sending a html file in a mail(outlook)

    Hi Guys,
      i want to send a html file in a mail(outlook) in workflow. whenever enduser click that file its open automatically sap inbox.
    html file belongs to a logo, if we click on that file it will automatically opens the SAP INBOX.
    this is the my requirement.
    give me suggestion for this requirement or any other solution.
    we appriciate your reply.
    Thanks
    Sankar.
    Message was edited by: sankar surya

    Unless you are prepared to zip and email every folder and
    file related to
    the page,
    exactly as it is on your computer, it would be wiser to
    upload it all to
    your hosting
    server, and send a link to the recipient.
    "2start" <[email protected]> wrote in
    message
    news:erat61$h8m$[email protected]..
    >I need to email a frame page I have created in
    DreamWeaver.. How can I do
    >that?

  • Problem with sending large HTML files as attachment using JavaMail 1.2

    Hi dear fellows, i am currently working on posting Emails with attachments using JavaMail 1.2. i succeeded in sending many mimetypes of files as attachments except for .htm and .html files. when large HTML files (say, >100 kB) serve as attachements, the mail is posted on mail server, but not properly posted since only the first small part of the file is writted into mail server but the latter part of the attachment file is missing.
    is that a bug of JavaMail??? are there any fellows encountering similar problem as i did??? any suggestions for me to proceed? hopefully i made myself clear...
    Many thanks in advance,
    Fatty

    i've sort of found the cause for that, it is because when the stream write to the mail server, unfortunately there is a "." in a single line. so the server refuse to take any more inputs.
    so do i have to remove all the "." in the file manually to avoid this disaster? any suggestions??
    Fatty

  • How to send an attached file containing with non-ascii code ?

    Hi,
    I want to send a attaced text file containing with non-ascii code(Traditional Chinese). Is there any way to solve the encoding problem?
    Currently, it transfer into non-meaningful code in receiving side.
    Thanks for the help in advance.

    Here is the code:
    Session _gSession = null;
    MimeMessage message = null;
    Properties props = new Properties();
    props.put("mail.smtp.host", smtpHost);
    _gSession = javax.mail.Session.getInstance(props, null);
    message = new MimeMessage(_gSession);
    message.setFrom(new InternetAddress(emailSender , emailSender));
    InternetAddress ia[] = new InternetAddress[1];
    ia[0] = new InternetAddress(emailReceiver, emailReceiver);
    message.setRecipients(Message.RecipientType.TO, ia);
    message.setSubject("Test Encoding Attached File");
    message.saveChanges();
    BodyPart messageBodyPart = new MimeBodyPart();
    DataSource fds = new FileDataSource("Big5_Code.txt");
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.addHeader("Content-ID","meme");
    MimeMultipart multipart = new MimeMultipart("related");
    multipart.addBodyPart(messageBodyPart);
    message.setContent(multipart);
    transport.connect();
    transport.send(message);

  • Problem to send out attachment

    Hi all,
    This is urgent. Any advice is appreciated. I have java class to send out attachement. The program was working fine without any issues until last Friday. Suddenly, it could not send any attachment email out. I was able to send out a simple email without attachment. I did not know what changed. I ran out of resources for troubleshooting it.
    Here is my code:
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class SendAttachment {
    public void Send (String MailHost, String AddFrom, String AddTo, String FileAttName)
    throws Exception {
    String host = MailHost;
    String from = AddFrom;
    String to = AddTo;
    String fileAttachment = FileAttName;
    // Get system properties
    Properties props = System.getProperties();
    // Setup mail server
    props.put("mail.smtp.host", host);
    // Get session
    Session session =
    Session.getInstance(props, null);
    // Define message
    Message message =
    new MimeMessage(session);
    message.setFrom(
    new InternetAddress(from));
    message.addRecipient(
    Message.RecipientType.TO,
    new InternetAddress(to));
    message.setSubject(
    "Hello JavaMail Attachment");
    // create the message part
    BodyPart messageBodyPart =
    new MimeBodyPart();
    //fill message
    messageBodyPart.setText("Hi");
    Multipart multipart = new MimeMultipart();
    multipart.addBodyPart(messageBodyPart);
    // Part two is attachment
    messageBodyPart = new MimeBodyPart();
    DataSource source =
    new FileDataSource(fileAttachment);
    messageBodyPart.setDataHandler(
    new DataHandler(source));
    messageBodyPart.setFileName(fileAttachment);
    multipart.addBodyPart(messageBodyPart);
    // Put parts in message
    message.setContent(multipart);
    // Send the message
    Transport.send( message );
    my test program:
    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    public class TestJavaMail {
    public static void main(String[] args) {
    String myhost =args[0];
    String from =args[1];
    String to = args[2];
    String filename = args[3];
    try {
    System.out.println("Start .....");
    System.out.println("Preparing...");
    SendAttachment app = new SendAttachment();
    app.Send(myhost, from, to, filename);
    System.out.println("Success!");
    } catch (Exception e) {
    //System.err.println(ExceptionUtil.printStackTrace(e));
    System.exit(-1);
    After successful compilation, here is how I ran the class:
    java TestJavaMail mymaihost.com [email protected] [email protected] /tmp/test.txt
    It stops just before it calls Transport.send( message );
    Any ideas are greatly appreciated.

    Hello,
        This could help you.
        http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010
     if the reply help you mark it as your answer.
     Free Managed .NET
    Word Component(Create, Modify, Convert & Print)

  • PDF Software causing problems in sending some PDF files but not all?

    I have been having problems sending some emails with PDF attatchments, they are being returned more and more frequently.  I've spoken to our server host and his answer is as follows saying that the problem is we are using "cheap PDF software" which is why I can send PDF's via Gmail or Yahoo but not through our server.  He suggest we buy a more expensive software or using Gmail for our important bids and invoices that are sent daily.
    My question is:  Is this even close to what could be causing the problem.  We are using Adobe to create our PDF's using our HP CM1410 or the Neat Scanner.  The Neat is a new device but the problem was ongoing before the Neat Scanner was added.
    Our IT person who set our network, hardware and software says it's the server and he's never heard of this being an Adobe problem.  So we're stuck not knowing who to believe

    There are several potential problems. It could be that your e-mail client is not encoding the PDF properly, but looking at it as an ASCII file (7-bit characters). The encoding is not as much of a problem anymore, but still a potential issue. The structure of the PDF that you are getting from the scanner may be corrupt. You can use some of the preflight scripts to check the integrity of the PDF. You might even try saving as a new PDF to see if the 2 versions work differently.
    It might be better to print the proposals you mentioned to the Adobe PDF printer and get better quality proposals than you would get with a scan. That would also probably avoid the problem you are having.

  • Problem while sending IDOC to File Senario

    Hi Experts
        I am having problem while sending the Idoc from SAP R/3 to File
       I have done all the setting in SAP as well in XI but while pushing IDOC
       I am getting error in the transaction sm58 in SAP R/3
      " <b>The service for the client 300(My SAP R/3 client) is not present in Integration
      Directory</b>"
    I can any one explain me what to done on this....all the connections are fine
    Waiting for Response
    Adv points and thanx
    Rakesh

    Reason and Prerequisites
    You send IDocs from system ABC to the exchange infrastructure (XI) of system XIZ, and error messages are issued in system ABC (Transaction SM58) for the IDOC_INBOUND_ASYNCHRONOUS function module.
    This note proposes solutions for the following error messages:
    a) No service for system SAPABC client 123 in the integration directory
    b) Transaction IDX1: Port SAPABC, client 123, RFC destination
    c) ::000
    d) NO_EXEC_PERMISSION: "USER" "Business_System"
    e) IDoc adapter inbound: Error error ...
    Solution
    a) Error message: No service for system SAPABC client 123 in the integration directory
    Solution:
    You send IDocs from system ABC to XI. In the control record of the IDoc, the SNDPOR field contains the value "SAPABC". The client of the sending system is determined by the MANDT field of the control record. The system ID and client are then used to determine a service without party of the type (business-system/business-service):
    Business system
    Activities in the System Landscape Directory (SLD)(Create technical system):
    Create a technical system for system ABC in the SLD, and create the client for this. Do not forget to assign an "ALE logical system" (for example, "ABCCLNT123") to this technical system.
    SLD (Business system):
    You can now explicitly assign a business system to this client.
    For more details, refer to the SLD documentation.
    Activities in system ABC (self-registration in the SLD):
    Alternatively, you can register the system in the SLD in system ABC with Transaction RZ70. You will find detailed information about the SLD registration of systems on the SAP Service Marketplace for the "Exchange Infrastructure" in the document "Exchange_Installation_Guide.pdf".
    In system ABC, you can check your configuration with TransactionSLDCHECK.
    Activities in Integration Directory (import business system from SLD):
    You will find the business systems under Services Without Party in the Integration Services. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".
    Use the Import/Update button to copy the data from the SLD, to create business systems, or to update their identifiers.
    Business service
    Activities in the Integration Builder directory:
    You want to create a service without party that is not part of your system infrastructure and is therefore not maintained in the SLD.
    In the Integration Builder directory, you will find the "Business-Services" under Services Without Party. In the Service menu, you will find the system identifiers, the client, and the corresponding ALE logical system under "Objects"->"Adapter-specific identifiers".
    Activate the change list in Integration Directory.
    In system ABC, you can restart the incorrect entry from Transaction SM58 .
    b) Error message: Transaction IDX1: Port SAPABC, client 123, RFC destination
    Solution:
    The Integration Server tries to load the IDoc metadata from the sending system. The IDoc schemas from the Integration Repository cannot be used because they are release-dependent.
    The sending system is determined by the value of the "SNDPOR" field from the IDoc control record (for example, "SAPABC").
    Activities in the central XI system:
    In Transaction IDX1, you can assign an RFC destination to the sending system (for example, "SAPABC"). This must be created beforehand in Transaction SM59.
    Note that the IDoc metadata is cross-client data. In Transaction IDX1, only one entry must be maintained for each system. Only the lowest client is used by the runtime for Idoc metadata retrieval with RFC.
    Ensure that only SAPABC and not "SAPABC_123" is entered in the port name.
    c) Error message: "::000"
    Solution:
    This error occurs if the central XI system tries to load the IDoc metadata from the sending system by RFC.
    There may be several different reasons for the failure of the metadata import, the error is not transferred in full by tRFC completely, and this results in the error message above.
    User cannot log onto sending system
    User/password/client is not correct or the user is logged due to too many failed logons.
    Activities in sender system ABC:
    Transaction SM21 contains entries for failed logons.
    Activities in the central XI system:
    Determine the sending port from the IDoc control record of the IDoc. If the ID of the sending system has the value "ABC", the value of the sending port is "SAPABC". You will find the RFC destination used for the "SAPABC" sending port with the lowest client in Transaction IDX1. In Transaction SM59, you will find the RFC destination containing the maintained logon data .
    User does not have the required authorizations
    Activities in the sender system ABC:
    In Transaction SM21, you will find entries relating to authorization problems and more exact details.
    Contact your system administrator and, if necessary, assign the user the required roles in user administration.
    IDoctyp/Cimtyp cannot be loaded
    Activities in sender system ABC:
    In the sender system, you can check your IDoc types in Transaction WE30 (IDoc type editor)  Take note not only of the errors, but also of the warnings.
    The most common errors are:
    - IDoc type or segments not released
    - Segments that no longer exist are listed in the IDoc type
    - Data elements that do not exist in the DDIC are assigned to fields
      in the segment.
    Contact your system administrator and correct these errors in the IDoc type.
    d) Error message: NO_EXEC_PERMISSION: "User" "Business_System"
    Solution:
    You created a list of users in the directory who are authorized to use the "Business_System". The user in the error message is not on the list.
    Alternatively, the same error is used if you have created a sender agreement with a channel of the IDoc type for the "Business_System" and the interface used. The user in the error message is not contained in the list of all authorized users defined there.
    e) Error message: IDoc adapter inbound: Error error
    Solution:
    You send IDocs to the central XI system, where they are received by the IDoc adapter. The IDocs are converted into IDoc XML, and a corresponding XI message is generated and transferred to the XI Runtime Engine. The Engine tries to read its own business system from the "Exchange Profile". If the Exchange Profile is currently unavailable, the message is not processed and it is returned to the sending system with an error message.
    Regard's
    Prabhakar.....

  • Problems attaching files to e-mails

    After installing Lyon, from my wife's user she can't attach files to an e-mail. The window opens but only shows folders and the folders can not be opened. I can do it from my user. What could be happening?

    This could be a hardware problem, or it could be software problem.
    First... Get a full backup of your disks by booting from the DVD and using Disk Utility to copy the data to an external storage device, on the off change the disk or memory or server is failing; don't lose ground here, and try to avoid losing data.  Always, always, always have a good backup before you start hardware or software repairs.
    As Christoph recommends, do check the logs.  Rather than looking at the directories directly, I'd suggest doing this using the Console.app tool (as that's easier than rummaging in /var/log, if you're not already comfortable in the command shell) and see if there are any relevant errors being reported. 
    It appears this box is critical, and doesn't have a backup, or spare parts, or local available support.  I'd expect there are folks in the Denver area that can visit the site and sort out the hardware or software trigger, if your coworkers aren't in a position to assist here.
    If the box is under AppleCare, I'd plan for a trip to get the box looked at and potentially repaired.
    If the box is not under AppleCare, I'd look for a spare disk.  Or better (but more expensive), acquire (or bring along?) a spare Mac Mini (Server?) and probably either used or off eBay or such, as you'll want to have a spare for any potential hardware failure.  (It's better to have two of the same, and newer Mac Mini (Server?) boxes will arrive with (and require) Lion (Server?) and not 10.6.8.
    Usual path for a recovery here is an external backup (via booting the DVD and using Disk Utility to get that copy, and preferably a couple of external, full, current, copies of the data) and using the "migrate" option after a wipe and reinstallation, to bring a copy of the disk data back in.

  • Problem in sending Email attachment

    Hi all,
    I am new to Oracle apex. I want to send email in apex with attchment. i have a send email button on clicking of which the following process will be called
    DECLARE
    l_id number;
    fileName varchar2(50);
    v_item blob;
    BEGIN
    apex_mail.send(
    p_to => Receiver email id ,
    p_from => Sender email id,
    p_subj => 'My Subject',
    p_body => 'Test Body',
    apex_mail.push_queue();
    END;
    right now i am able to send email but now dont know how to use -- APEX_MAIL.ADD_ATTACHMENT to send reports as attachments
    Here are some queries related to the parameters in APEX_MAIL.ADD_ATTACHMENT:-
    1) what to send in parameter ' p_attachment '
    2) what to send in parameter ' p_filename'
    3)what to send in parameter ' p_mime_type '
    my requirement is to send the report displayed in the page to be send as attachment with this email. I am quite confused about these parametersto be sent in APEX_MAIL.ADD_ATTACHMENT.
    please provide an example if possible.
    Thanks in Advance
    Anu
    Edited by: user12259335 on Mar 12, 2010 11:55 PM
    Edited by: user12259335 on Mar 13, 2010 1:08 AM

    Hi,
    You need save your report to CLOB if you like send it using APEX_MAIL.ADD_ATTACHMENT.
    You can do that e.g. with xml_spreadsheet
    http://matzberger.de/oracle/spreadsheet-tut-en.html
    Something like this then
    DECLARE
      l_cursor NUMBER := dbms_sql.open_cursor;
      v_clob CLOB;
      l_id NUMBER;
    BEGIN
      l_id := APEX_MAIL.SEND(
        p_to        => '[email protected]',
        p_from      => '[email protected]',
        p_subj      => 'APEX_MAIL with attachment',
        p_body      => 'Please review the attachment.',
        p_body_html => '<b>Please</b> review the attachment'
      dbms_sql.parse(
        l_cursor ,
        'SELECT * FROM emp',
         dbms_sql.native );
      xml_spreadsheet.abfrage(
        p_cursor    => l_cursor ,
        p_file      => v_clob ,
        p_sheetname => 'emp_report'
      APEX_MAIL.ADD_ATTACHMENT(
        p_mail_id   => l_id,
        p_attachment  => v_clob,
        p_filename    => 'emp_report.xml',
        p_mime_type   => 'text/xml'
      APEX_MAIL.PUSH_QUEUE;
      COMMIT;
    END;I did not test that code, but it should work.
    This is just one way to do it.
    Br,Jari

  • Can not attach file to g-mail

    Latley I am not able to attach files in my G-mail. There are small Word files. Everytime I try it, finder freezes. My  8 year old Thinkpad is faster than my Macbook Air!

    You are mostly misinterpreting the problem (and 'view as icon' will only mask the 'solution').
    You see, what you are experiencing is a facet of your email application.
    What other users see will be a facet of their email application.
    To explain, if you're using Mail.app you should be aware that Mail.app can interpret and display a wide variety of file formats - images, PDF, video, etc., etc.
    When you 'attach' such a file to a message Mail.app, by default, displays the content since this is what most people want. You have the option to just display an icon, but that's only really relevant for you.
    When the recipient gets the message what they see depends upon their client. If their client can interpret and render file attachments then they'll see the image. If it can't, they'll see an attachment link.
    Moreover, you have no control over this. It is entirely dependent on the mail client you are using, and the mail client the recipient is using. Even if you attach a file and 'view as icon', that has no bearing on whether it will appear as an icon or an inline document when it gets to the recipient - that's up to their browser abilities/settings (just like attaching as an image won't display as an image on the recipient's system if they can't display the file format, or their preferences are set to not do so).
    So knock yourself out viewing your attachments as icons, but don't expect that it will make any difference to the recipient.
    The only way you can overcome this is to send attachments in a file format that can't normally be displayed, such as a .zip archive.

  • Attaching files to e-mails

    I am using Safari to access my e-mail account at Yahoo. I sometimes cannot send our e-mails that have attachments. A message from Yahoo advises that I remove the attached files and try again. I've removed the attached files and reattached them but still can not send out the e-mail with the attached files. Anyone have this problem? Help!

    I am having the same problem trying to attach Filemaker Pro files to an email. No solution yet. It was suggested I use Internet Explorer. It did allow me to attach the file, but I have not yet heard from the receiver.

  • Attaching files crashes Mac Mail and Thunderbird

    Just upgraded from Mountain Lion to Mavericks 10.9.3 on a 2012 Mac Mini 4 core.  When attempting to add an attachment to an email, both Mac Mail and Thunderbird start with the spinning beachball and never recover.  Force Quit is the only option.  Even after that, the Finder has strange screen artifacts left over from Mail (attach file dialog box) and Finder must be relaunched as well.
    Dragging and dropping files works okay with Mac Mail.  This option does not exist when using Thunderbird, so no workaround available for that App.  Also, Mac Mail only gets stuck when attempting to attach files on the desktop.  Files from other locations attach OK.
    Already tried Repair Permissions, Repair Disk, Reinstalled Mavericks with no change.  For now, I have gone back to Mountain Lion since this is a deal breaker, even though everything else seems to work ok (except for the occasional brief spinning beach ball).

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/d;/(etc|Preferences)\//s/^\.\/[^/]+//p;' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.[bw]/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / /{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,[lps]*.conf,pam.d,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

Maybe you are looking for

  • AR/AP Comparison

    I'm working on an SDK application that by request contains a brief and basic report in it that compares both outgoing and incoming payments based on item.  I'm using the SBO_DemoUS database as a testing ground for the application.  I'm using the AD01

  • Jdbc mysql using JNDI- org.apache.tomcat.dbcp.dbcp.SQLNestedException:

    Hi I am new to JNDI and i want to set up database connection using JNDI. I read the documentation at tomcat site and accordingly. Presently i m using- Tomcat 5.5 MySQL 5.0.6 this is my context.xml file under * $CATALINA_HOME/webapps/mywebsite/META-IN

  • Hello, what I have to access to convert the keyboard in swedish language

    Hello, what I have to access to convert the keyboard in swedish language Many thanks for helping me out

  • Testing Question - Objective Settings and Appraisals

    Hi Experts During testing, we need to delete  appraisal docs under Appraisal Template and  do "cancel release", each time need  to change configurations or for any changes in the template. Since in Perf Mgmt , it is recommeded to transport at the ver

  • Please help with Flash A.S 2.0 CS3

    Hello, I downloaded a flash template and have modified it to suit our company but there is something that I can't do. When the file loads in the browser, music immediately plays and loops until you click a button to stop the music. On our video page,