String gets added to the name of the PDF while sending email

Hi,
I am generating a PDF from a smartform. When i click on the email button on the PDF, it opens outlook with the PDF in the attachment. But i can see some string gets added to the begining of the name of PDF for example if i have named the PDF as 18000012 then while sending email from PDF i can see the name as XXXXX1800012.pdf as the attachment. Is there any way by which i can remove that string.
Thanks,
Sonal

You can use text variables in the report description

Similar Messages

  • I am facing the problem while sending email

    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class MailExample {
    public static void main (String args[]) throws Exception {
    String host = "127.0.0.1";
    String from = "localhost";
    String to = "[email protected]";
    // Get system properties
    Properties props = System.getProperties();
    // Setup mail server
    props.put("mail.smtp.host", host);
    //props.put("mail.smtp.auth", "true");
    // Get session
    Session session = Session.getDefaultInstance(props, null);
    // Define message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    message.setFrom(new InternetAddress(from));
    Address toAddress = new InternetAddress(to);
    // Set the to address
    message.addRecipient(Message.RecipientType.TO,
    toAddress);
    // Set the subject
    message.setSubject("Hello JavaMail");
    // Set the content
    message.setText("Welcome to JavaMail");
    // Send message
    Transport.send(message);
    error is
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
         javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
         javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
         at javax.mail.Transport.send0(Transport.java:218)
         at javax.mail.Transport.send(Transport.java:80)
         at MailExample.main(MailExample.java:42)
    Exception in thread "main"

    Hi,
    http://onesearch.sun.com/search/developers/index.jsp?col=devforums&qp_name=JavaMail&qp=forum%3A43&qt=relay
    -Amol

  • [svn:bz-trunk] 20986: Classes that are neither explicitly allowed nor disallowed get added to the disallow class cache .

    Revision: 20986
    Revision: 20986
    Author:   [email protected]
    Date:     2011-03-29 05:17:12 -0700 (Tue, 29 Mar 2011)
    Log Message:
    Classes that are neither explicitly allowed nor disallowed get added to the disallow class cache. So we should clear the disallow classes cache also on changing allow rules. Exposing a clearClassCache() method to allow subclasses also to clear the class cache.
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/validators/ClassDeserializationValidator.ja va

    sorry i forgot that... i use php5 so i guessed at the module name... upon looking closer at the conf its mod_php4.c
    <pre>
    <IfModule mod_php4.c>
    AddType application/x-httpd-php .php
    </IfModule>
    </pre>

  • Row getting added in the end of the scroll

    Hi -
    I am using a scroll area on a page on level 1. The issue iam encountering is that when ever i click the plus sign to add a second or third row (assume one record already exists in scroll 1) , the row gets added in the end of the scroll and also the fields are blank. However as delievered the new row should get added on the top of the scroll meaning 1 of 2 not 2 of 2, and also it should carry forward the values from the prior row. Please any suggestion or help is greatly appreciated.

    I figured it out. The reason it was happening was because, my scroll record had another key field after EFFDT and EFFSEQ, due to which the delivered copy forward logic for new rows in scroll did not work and the row was getting added in the end or after the first blank row always.

  • How to add one item when another item get added into the iProcurement Cart

    Hi,
    Please help me to do the following customization in iProcurement Cart:
    Requirement-1:
    1. Login to iProcurement and add one Item ITEM1 to Cart.
    2. Make another Item ITEM2 mandatory or get added automatically when Item ITEM1 gets added into the iProcurement Cart
    OR
    Requirement-2:
    1. Login to iProcurement and add one Item ITEM1 to Cart.
    2. Go to Cart and click Checkout.
    3. While checking out Item ITEM1, we need some validation to make another Item ITEM2 mandatory or get added automatically with Item ITEM1.
    Thanks in Advance,
    SB

    Hi tiff512:
    The way is:
    SAP NetWeaver > General Settings > Check Units of Measurement.
    The help documentation says the following in relation to the creation of new units of measure:
    "If required, define new units of measurement according to the international system of units (SI) with the menu function Unit of meaurement -> Create.
    Here you have to make make specifications for:
    Display (including a descriptive Units of measurement text)
    Conversion (not applicable to units of measurement without dimensions)
    Data exchange (EDI) (optional)
    Application parameters"
    I hope it is helpful to you.
    Regards,
    David

  • New row getting added to the final row that is total rows.

    Hi All,
    I am appending 4th row which will have summation of all the numeric fields of the above 3 rows.
    Finally there is a last row which is having summation of all theabove 3 rows.which is done using do_sum in fieldcatlog.
    When I am appending the 4th row a new row is getting added after the last row.
    If i append 5 rows.
    I am getting 5 rows as final summation rows.
    Moderator Message: Vague and Incomplete Question.
    Edited by: kishan P on May 12, 2011 12:42 PM

    Please post your MDX calculated member code, and (example) query results you are getting. It sounds like you are using separate attributes and expecting them to be related, but they aren't. For them to be related, you need to be using a hierarchy that
    includes those two attributes.  In my experience the easiest way to construct a dimension that I am basing calculations on is to lock it down to one central hierarchy.  You could probably also do some mdx tricks but I don't know it if would perform
    well.

  • [svn] 2965: A test method got added to the EnumTypeTest test on BlazeDS/ trunk but didn't get added to the test on the 3.0.x branch.

    Revision: 2965
    Author: [email protected]
    Date: 2008-08-22 11:11:30 -0700 (Fri, 22 Aug 2008)
    Log Message:
    A test method got added to the EnumTypeTest test on BlazeDS/trunk but didn't get added to the test on the 3.0.x branch. The test method is a test for bug BLZ-214 that is still open so we may want to exclude this test from running on both branches.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-214
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTyp es/EnumTypeTest.mxml

    Revision: 2965
    Author: [email protected]
    Date: 2008-08-22 11:11:30 -0700 (Fri, 22 Aug 2008)
    Log Message:
    A test method got added to the EnumTypeTest test on BlazeDS/trunk but didn't get added to the test on the 3.0.x branch. The test method is a test for bug BLZ-214 that is still open so we may want to exclude this test from running on both branches.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-214
    Modified Paths:
    blazeds/branches/3.0.x/qa/apps/qa-regress/testsuites/mxunit/tests/remotingService/dataTyp es/EnumTypeTest.mxml

  • Do deleted entities get added to the validation listener?

    Hi all,
    I was reading about the 3 listeners in Jobinesh's [blog post|http://jobinesh.blogspot.com/2011/09/what-you-may-need-to-know-about.html] and got a doubt.
    i. Do deleted entities get added to the validation listener? Does not make sense to me as there would be no validations to trigger on deleted entities.
    ii. Is there some way to remove entities from Validation Listener? I see that there are method to remove the entities from other two listeners.
    Thanks,
    Srini

    Hi Frank,
    Was testing this and was surprised to find that validation listeners were not affected when I deleted entities. Maybe I missed something.
    If they get added, is there some way of removing the entity from the validation listener?
    Thanks,
    Srini

  • When does d4s get added to the list of camera that can tether on Lightroom

    when does d4s get added to the list of camera that can tether on Lightroom 5?

    Well, I got very tired of waiting for Adobe to support my Nikons so I use a Camranger, their computer and tablet app and tether wirelessly to LR. Yes, there is a bit of a delay amounting to a few seconds but in practice my customers love it and have not complained. I use the few seconds to better connect with them, answer questions, etc. Being wireless gives me more range of movement and I have one less cord. The Camranger goes in an old phone holster that clips to my shirt or pants pocket, connected by a 3 ft cord.
    You need to enable auto import in LR and point it to the folder that Camranger saves the files to. Since it is an import you can use presets if you wish. I've not seen a downside yet and Camranger has support for new cameras very quick like. An added plus is having full wireless functionality for your camera via the Camranger apps. You can change any setting, focus, use live view, etc.. using a phone, tablet or laptop.

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • How do I get rid of the ad while playing a game?

    How do I get rid of the ad while playing a game on my iPhone?

    duh .... I got to thinking about it while I was feeding my 'girls', (dog and 2 cats) and thought "I wonder if that has anything to do with the fact that it's free!"  I guess they have to make their money somehow. Thanks for you quick reply -- I'll try to think things thru a little better before marshalling the troops! 
    Thanks again,
    jr

  • I have a client that uses Windows that has recently told me she can no longer open the PDFs I send her. I can't find this elusive "Always Send Windows-Friendly Attachments" setting that I have read may solve my problem. Can someone get me there?

    I have a client that uses Windows that has recently told me she can no longer open the PDFs I send her. I can't find this elusive "Always Send Windows-Friendly Attachments" setting that I have read may solve my problem. Can someone get me there?

    Dear Dan,
    It was from InDesign that I was creating the shared pdfs. I was one of two Mac drivers in a corporate sea of Win users and had to make the change I mentioned in order for the Win users to see my pdfs for review. The difference from what you appear to be doing was that were all on an MS Exchange Server so the files were shared over the company's Exchange Server e-mail system. However, some of these files occasionally went to outside users via regular e-mail and those people had no issues either.
    So what I did was tested and worked for years.
    You might look at the Adobe forums or Knowledge Base to see if that is a reported issue with newer version of CS. I was on CS2 when I was doing this, and the other Mac driver was on CS3 but had no problems either.
    Some Win users I've talked to find a problem opening some pdfs (not mine) in general and found they had to open Reader first and them open the file from Reader's File menu. That most often happened if the client was using an outdated version of Reader.

  • How do i get rid of the 'set up new email' text on...

    how do i get rid of the 'set up new email' text on the screen ?
    Thanks 

    Menu -> Tools -> Settings -> General -> Personalisation -> Home Screen -> Mode settings -> Home Screen applications -> Enabled applications.
    Remember that Home Screen must be set to Active.

  • When I send a email I would like to have my photo and signature added at the end of my email. How do I add that?

    When I send a email I would like to have my photo and signature added at the end of my email. How do I add that?

    Firefox doesn't do email, it's a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

  • It is possible to get info from the PDF

    Hi Everyone,
    I'm new baby to acrobat using javascript. It is possible to get info from the PDF.
    The Info contain like Color space, Trim size, which font  used depend on pages and which color is used for image & text.
    Thanks in advance.
    -yajiv

    Hi GKaiseril,
    Thanks for prompt response.
    Actually I'm a new baby to Acrobat script. Please explain briefly How do I write java script and execute.
    I'm familiar with Photoshop and Indesign Script. We are using ExtendedScript Toolkit editor for writing script.
    Thanks in advance.
    -yajiv

Maybe you are looking for

  • Open pdf in safari using: ACROBAT 9 PRO

    Hi, I am using safari 4.0.3 and Acrobat Pro 9 10.4.3. When I click a pdf file in safari, it opened with it default pdf viewer. However, I want to use acrobat to view pdf (in safari). Here are the solutions I've tried: 1 Acrobat->Preference-> Internet

  • Itunes 10.5 does not detect my ipod touch

    I recently update my itunes to 10.5 and when I connect my Ipod touch to my computer Ituens will not detected. My Ipod will show up on my computer but not on Itunes. Any ideas how can I fix this??? I try restaring my Ipod, REinstalling Itunes but noth

  • Listener.ora file on RAC 11gR2 with SCAN

    Hello, I have 11.2.0.1 Rac with 2 nodes configured to work with SCAN. The following listener.ora file was created during the rac installation. (I only changed the name of the instance to XYZ in the output bellow). There is only one listener.ora file

  • Materialized view table pctfree

    Hi, Having in mind the way Oracle refreshes materialized views, is there any sense in creating the materialized view with ptcfree != 0 ? Thanks in advance. Joaquin Gonzalez

  • ERROR creating rcu

    hi am geting this error when Check Schema Prerequisites when creating rcu this is step 3 of 7 RCU-6083:Failed - Check prerequisites requirement for selected component:ESS Please refer to RCU log at C:\oracle\Middleware\rcuHome\rcu\log\logdir.2013-11-