How can we map a file in the recepents file in smtp server

hai all,
how can we map a file to teh recipents file in smtp server configuration.
because i didnt hard code the email id there so i has to kept any file or any variable so can any one help me out.
thanks,
Rajesh

Hi There
You can try to use SSIS expressions in your DTSX package which reads the values from the file and then populates the recipient field. This would require some script tasks to read the data and then populate the variables used in the SSIS expression.
[https://www.google.com/search?sclient=psy-ab&hl=en&safe=off&site=&source=hp&q=ssisexpressions&btnK=GoogleSearch#sclient=psy-ab&hl=en&safe=off&source=hp&q=sqlssisexpressions&oq=sqlssis+expressions&aq=f&aqi=&aql=&gs_sm=e&gs_upl=9137l9524l0l9847l4l3l0l0l0l1l522l522l5-1l1l0&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=67c17c5b88ef2530&biw=1440&bih=799]
It could be easier to configure a distribution list on your exchange server or domino server, and then send an email to the distribution list email address. Then you could manage the recipients from the mail server.
Another way to achieve this, is to put a prompt in the data manager package to pass the recipient email addresses, and then pass that value to script logic. In the script logic it would call a stored procedure with the dynamic input and send the mail.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d01ce779-f1b2-2b10-07ba-da3734013245]
You could use the SMTP relay functions from SQL server.
There are various options available. each option has pro's and con's you will need to decide which is better and easier to manage. 
I hope this helps.
kind Regards
Daniel

Similar Messages

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • How can I find a photo from the backup file in my pc?

    How can I find a photo from the backup file in my pc?
    I have accidentally erased a photo. It happened after the backup.

    I am not aware you can extract a single photo or a single app's content from the backup, you can either restore the whole backup to your phone or not restore. If you restore your last backup to your phone then any content that is currently on your phone will be replaced with what was on it at the time that the backup was made - so if you do decide to restore, first copy off any purchases to your computer's iTunes via File > Transfer Purchases, and copy any documents/files that you've udpated on the phone since the backup.

  • In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?

    In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?

    There are a number of third party solutions for this.  I just use Bridge, so can't recommend one in particular.

  • How can I write new objects to the existing file with already written objec

    Hi,
    I've got a problem in my app.
    Namely, my app stores data as objects written to the files. Everything is OK, when I write some data (objects of a class defined by me) to the file (by using writeObject method from ObjectOutputStream) and then I'm reading it sequencially by the corresponding readObject method (from ObjectInputStream).
    Problems start when I add new objects to the already existing file (to the end of this file). Then, when I'm trying to read newly written data, I get an exception:
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    Is there any method to avoid corrupting the stream? Maybe it is a silly problem, but I really can't cope with it! How can I write new objects to the existing file with already written objects?
    If anyone of you know something about this issue, please help!
    Jai

    Here is a piece of sample codes. You can save the bytes read from the object by invoking save(byte[] b), and load the last inserted object by invoking load.
    * Created on 2004-12-23
    package com.cpic.msgbus.monitor.util.cachequeue;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    * @author elgs This is a very high performance implemention of Cache.
    public class StackCache implements Cache
        protected long             seed    = 0;
        protected RandomAccessFile raf;
        protected int              count;
        protected String           cacheDeviceName;
        protected Adapter          adapter;
        protected long             pointer = 0;
        protected File             f;
        public StackCache(String name) throws IOException
            cacheDeviceName = name;
            f = new File(Const.cacheHome + name);
            raf = new RandomAccessFile(f, "rw");
            if (raf.length() == 0)
                raf.writeLong(0L);
         * Whne the cache file is getting large in size and may there be fragments,
         * we should do a shrink.
        public synchronized void shrink() throws IOException
            int BUF = 8192;
            long pointer = getPointer();
            long size = pointer + 4;
            File temp = new File(Const.cacheHome + getCacheDeviceName() + ".shrink");
            FileInputStream in = new FileInputStream(f);
            FileOutputStream out = new FileOutputStream(temp);
            byte[] buf = new byte[BUF];
            long runs = size / BUF;
            int mode = (int) size % BUF;
            for (long l = 0; l < runs; ++l)
                in.read(buf);
                out.write(buf);
            in.read(buf, 0, mode);
            out.write(buf, 0, mode);
            out.flush();
            out.close();
            in.close();
            raf.close();
            f.delete();
            temp.renameTo(f);
            raf = new RandomAccessFile(f, "rw");
        private synchronized long getPointer() throws IOException
            long l = raf.getFilePointer();
            raf.seek(0);
            long pointer = raf.readLong();
            raf.seek(l);
            return pointer < 8 ? 4 : pointer;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#load()
        public synchronized byte[] load() throws IOException
            pointer = getPointer();
            if (pointer < 8)
                return null;
            raf.seek(pointer);
            int length = raf.readInt();
            pointer = pointer - length - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            byte[] b = new byte[length];
            raf.seek(pointer + 4);
            raf.read(b);
            --count;
            return b;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#save(byte[])
        public synchronized void save(byte[] b) throws IOException
            pointer = getPointer();
            int length = b.length;
            pointer += 4;
            raf.seek(pointer);
            raf.write(b);
            raf.writeInt(length);
            pointer = raf.getFilePointer() - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            ++count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCachedObjectsCount()
        public synchronized int getCachedObjectsCount()
            return count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCacheDeviceName()
        public String getCacheDeviceName()
            return cacheDeviceName;
    }

  • How can i dynamically assign values to the tld file

    How can i dynamically assign values to the tld file

    In the tld you write for the tag handler mention the following sub tags in the attribute
    <attribute>
    <name>xyz</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    import the packagejavax.servlet.jsp.tagext.DynammicAttributes;
    add the method
    public void setDynamicAttribute(String rui, String localname, Object value) throws JspException
    <Your Required task>
    Its better if you SimpleTagSupport class to be extended.

  • How can I map multiple sourcelines of the same position into 1 targetline?

    Hi all,
    I have a mapping problem in XI. I have no idea how to do the following mapping in the IR. My inputfile contains of 1 headerline and mulitple positions, and it has got multiple lines per position (with different data in it). The targetfile has got 1 headerline and multiple positionslines in which I have to "merge" the data from mulitple source-positionlines. It looks like this:
    source structure:
    headerdata
    position1 part1 (posnr, article number, quantity, articletype,...)
    position1 part2 (posnr, article price, payment conditions,...)
    position1 part3 (posnr, route,...)
    position2 part1
    etc
    target-structure:
    headerdata
    position1 (posnr, articlenr, quantity, articletype,price, payment conditions, route)
    position2 (same)
    position3 (same)
    etc
    Now I have to map part1,2 and 3 of the source structure to the 1 and the same target-line. I guess I would need some kind of lookup of the positionnumber in my message-mapping. But how do I do this? Copying the targetline 3 times is not an option as the target-utility only accepts the structure as described above....
    Hope anybody van help
    Thanks,
    William

    Hi,
    U can do it with UDF but it is more simpler with normal graphical mapping refer the following steps.
    1) To map header node for your example (position1) refer the following steps,
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext --> position1
    2) for posnr in target side also u can use same mapping with some change  i.e.
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext > splitByValue(EachValue)>posnr.
    3) For other node like articlenr, quantity, articletype,price, payment conditions, route refer the following mapping.
    1st do this.
    posnr --> RemoveContext --> sort --> splitByValue(valueChange) --> CollapseContext --> splitByValue(EachValue).
    then take IfWithOutElse function give 1st input as output of CollapseContext
    2nd input is value like articlenr, quantity, articletype,price, payment conditions or route(one of it) --> FormatByExample(using posnr --> RemoveContext --> sort --> splitByValue(valueChange)) node
    Output of IfWithOutElse give to  splitByValue(EachValue)
    Then give it to Target field.
    Regards,
    Rohit.
    reward points if helpful

  • How can i save differnts data in the same file?

        Hi all,
    i need some help.  I'm working  on a project  for students an th university. We have to devellop  a programm for LEDs measurement so that all the measure data must be save in de same file.  We have develloped the programm, but we have  a big problem to save the measure in the same File.
    When we do the first  measure , the file must be created and the fisrt data gonna be save in this file that is correct
    When wie do the second measure, the third  ....  measure, the programm ask us to comfirm the file or where we want save our data
    We need some help, to know how we can change  or devellop this programm so that, for the first measure , the file must be created and the fisrt data gonna be save in this file,  the second measure the same file must be chose and from the third and more the measure data must be automatically save in this file without the programm ask to chose or to confirme a file? 
    I attach a part off this programmm
    Thanks
    Attachments:
    SR830DSP19.vi ‏212 KB

    Move the "File Dialog" where you open your new file out of the while loop. Only pass the refnum inside the loop.

  • How can a non dba user manipulate the dump file outside of oracle ?

    I have a business request to allow a none DBA database user to dump his tables and he can move his dump file on the Unix box from a file system to another file system. This user has a none oracle unix account. When using traditional exp, this is not a problem. But in expdp, all dump files are owned by oracle. Does anybody know how to change the ownership without a DBA involved?
    Unix: Sun Solaris
    DB: 10g
    Storage: sand disk

    Betty wrote:
    following option 1, problem is now the command in the shell script like chmod 744 doesn't allow this none dba user to change the permission, since he doesn't own the file. you can test yourself:
    changepermit.ksh 755
    chmod 744 dump.dmpSo have the script owned by oracle:dba change the owner!
    $ echo "" > bla
    $ ll bla
    -rw-rw-rw-   1 jeg    users            1 Nov 10 16:53 bla
    $ chmod 640 bla
    $ ll bla
    -rw-r-----   1 jeg    users            1 Nov 10 16:53 bla
    $ chown smk bla
    $ ll bla
    -rw-r-----   1 smk    users            1 Nov 10 16:53 bla
    $ echo "" > bla
    /usr/bin/ksh: bla: cannot createNote you'll have to move it unless you let oracle write to it.

  • How can I merge multiple versions of the same file?

    I have a number of PDF ebooks that I read on multiple devices, and I highlight selections of interest, then save the modified files. Using Acrobat  XI, is there a straightforward way to merge all of these changes into a single master file for each book?
    For example, I read and highlighted Chapters 1 and 2 on my home computer, and Chapters 3-6 at work. I'd like to merge the home and work files (which are identical apart from the highlighting) so that I have a single file that's highlighted in Chapters 1-6. These tend to be large files, so comparing them manually page by page isn't really an option.
    Any help you could offer would be gratefully received. Thanks!

    Yes, it's possible.
    Open a file and click on the Comment button to open the panel. In the Comments List click on the Options button and select "Export All to Data File...". Save the file somewhere on your computer. Do the same for the other files.
    Now open a blank version of the file and do the same but select "Import Data File..." from that menu. Select all the files you've saved and you'll have a merged version of all the comments from the various versions.

  • How can I include multiple limits in the sequence file documentat​ion for custom step type?

    Hi,
    I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
    I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
    Is there any trick to do that?
    Thanks,
    Andras

    Hi Andras,
    I have made  a slight change to the sequencefile 'docgen_txt.seq'.
    In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.
    Now when you run the DocGen tool it handles your custom step type.
    Find attached my modified sequencefile 'docgen_txt.seq'.
    Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.
    Then launch TestStand and try it out on your sequence file.
    If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 05-19-2007 05:28 PM
    Regards
    Ray Farmer
    Attachments:
    docgen_txt.seq ‏184 KB

  • How can I start Fireworks without openig the last Files

    Hi,
    I need to open Firewrks without opening the last File I'm working on.
    The Problem is that the programm crashes by starting and automatically opening the last pictures.
    Any idea?
    Kind Regards

    You could try the solution mentioned in the following forum thread:
    http://forums.adobe.com/thread/1193088?tstart=0

  • Mapping supplier ID of the source file to the supplier ID of the subtable

    Dear Experts,
      I am new to MDM. I have one immediate task to be completed in MDM in my project. I have an excel file while contains the business data in which supplier ID is one of the fields in that.
      My requirement is to import this data into MDM import manager. But the issue in importing the data is i cannt map the supplier ID of the source file to the supplier ID of the subtable Suppliers while importing the source file data. As there is no field mappling with Supplier ID in the main table to the source file obviously i need to map only to the subtable of the supplier ID field.
    I have tried by importing the data into subtable first before importing it in the import manager and then while importing in the import manager i have tried to map supplier Id of the source file to the Supplier ID of the main table. But mapping could not be done tough there is data in the subtable.
    Can anyone tell me how should i map supplier id of the source file to the supplier id of the subtable while importing data into import manager?
    Please help me out.
    Thanks & Regards
    Sireesha.

    Hi sireesha,
    If I have understood your requirement correctly, then you want to Populate data from the Source - Supplier ID to one of the field Supplier ID in a subtable -.
    Please perform the following task:
    1.Open Import Manager.
    2. Connect to the Source.
    3. Choose the Source and the Destination Tables in Import Manager.
    Source and the Subtable ( in theDestination)
    4. Go to the Map Field/Value Tab
    5. Map the 2 fields
    6. Select the Matching Field
    7. Import the Data
    The Data will be imported into the Supplier Field of the Subtable.
    Please correct me if this is not the case
    Hope it helps.
    Thanks and regards
    Nitin jain

  • How can I export a playlist (.m3u) to local file system?

    How can I export my playlits to the local file sytem, e.g. in .m3u format. In iTunes 11 it was a simple click on "export" and choosing a file name, done. The button "export" is missing in iTunes 12.

    File > Library > Export Playlist...
    tt2

  • How can I save my data and the date,the time into the same file when I run this VI at different times?

    I use a translation stage for the experiment.For each user in the lab the stage position (to start an experiment) is different.I defined one end of the stage as zero. I want to save the position , date and time of the stage with respect to zero.I want all these in one file, nd everytime I run it it should save to the same file, like this:
    2/12/03 16:04 13567
    2/13/03 10:15 35678
    So I will track the position from day to day.If naybody helps, I appreciate it.Thanks.

    evolution wrote in message news:<[email protected]>...
    > How can I save my data and the date,the time into the same file when
    > I run this VI at different times?
    >
    > I use a translation stage for the experiment.For each user in the lab
    > the stage position (to start an experiment) is different.I defined one
    > end of the stage as zero. I want to save the position , date and time
    > of the stage with respect to zero.I want all these in one file, nd
    > everytime I run it it should save to the same file, like this:
    > 2/12/03 16:04 13567
    > 2/13/03 10:15 35678
    >
    > So I will track the position from day to day.If naybody helps, I
    > appreciate it.Thanks.
    Hi,
    I know the function "write to spreadsheet file.vi"
    can append the data
    to file. You can use the "concatenate strings" to display the date,
    time as well as data... Hope this help.
    Regards,
    celery

Maybe you are looking for

  • Can you set an image at run time?  Does it really work?

    I have read that others have been able to set an image at run time, but I cannot seem to get it to work (the image I set does not load). What I do is have a page, call it page2, that has two image components on it. In the constructor for page2 I do t

  • ORA-01090: shutdown in progress - connection is not permitted

    How to stop the shutdown process ? I can't make no connections because Oracle is not available. Thanks.

  • Illustrator CS5/CS6 on OSX 10.9.1 - Issue with loading fonts.

    I'm using Illustrator CS6 on OSX 10.9.1. Ever since I've upgraded to OSX Mavericks, Illustrator has stopped loading some of the document fonts even though they are enabled and available for other applications. I get the font missing dialog every time

  • Provide a new, unique instance name - Distributed Environment

    Hi, I am not sure about this piece of information in installation docs please refer http://download.oracle.com/docs/cd/E17236_01/epm.1112/epm_install_11121/frameset.htm?launch.html When you configure in a distributed environment, provide a new, uniqu

  • Where's the HN-505 Headphone suppo

    I bought my wife a pair of the HN-505 noise-cancelling headphones for Christmas. But now we're having a problem with the battery case cover not staying closed. I tried to go to the Creative website to get help, but there is no mention of any support