Urgent: CC & BCC Problem

i try to send an email with the CC and BCC and i found that no mails sent to the CC & BCC and i found at the forum someone till that this a bug at the javamail API , so please i need to know if this bug still exist and if there is any solution to this problem

try with this code ..
if (mailhost != null)
props.put("mail.smtp.host", mailhost);
Session session = Session.getDefaultInstance(props, null); // create some properties and get the default Session
session.setDebug(false); // change to true to get more information
Message msg = new MimeMessage(session); // create a message
if (from != null)
msg.setFrom(new InternetAddress(from));
else
msg.setFrom();
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false)); //Parse the given sequence of addresses into InternetAddress objects.
if (cc != null)
msg.setRecipients(Message.RecipientType.CC,InternetAddress.parse(cc, false));
if (bcc != null)
msg.setRecipients(Message.RecipientType.BCC,InternetAddress.parse(bcc, false));
msg.setSubject(subject);
MimeMultipart mp = new MimeMultipart(); // send a multipart message
MimeBodyPart mbp1= new MimeBodyPart(); // create and fill the first message part

Similar Messages

  • Exchange 2013 Public Folder BCC Problem

    Hi ,
    I have a mail enabled public folder, it accept mail but it sends a copy of the mail in bcc to a user.
    Can someone please tell me how to remove the bcc address?
    The public folder only has one e-mail address.
    I have run the command "DeliverToMailboxAndForward" $false
    RunspaceId              : 83238470-b8c1-42ec-9228-42403e14df2d
    Timestamp               : 13.06.2014 09:11:27
    ClientIp                :
    ClientHostname          : SERVER1
    ServerIp                :
    ServerHostname          :
    SourceContext           :
    ConnectorId             :
    Source                  : AGENT
    EventId                 : AGENTINFO
    InternalMessageId       : 14710262988876
    MessageId               : <[email protected]>
    Recipients              :
    {[email protected],
    [email protected]}
    RecipientStatus         : {}
    TotalBytes              : 10226
    RecipientCount          : 2
    RelatedRecipientAddress :
    Reference               :
    MessageSubject          : Forwarding BCC Problem
    Sender                  :
    [email protected]
    ReturnPath              :
    prvs=234d3e19e=[email protected]
    Directionality          : Incoming
    TenantId                :
    OriginalClientIp        : 214.9.49.62
    MessageInfo             :
    MessageLatency          :
    MessageLatencyType      : None
    EventData               : {[CompCost, |ETR=0]}
    Somewhere there is a rule and I cannot for the life of me find it.
    I would really appreciate some help on this one.
    Thanks in advance.

    Grant yourself Owner role on the folder, and you should then be able to use Outlook to see if there are any folder rules associated with it.  Also look at your transport rules to see if there's one that's based on that recipient address.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Urgent!!  Problems muxing .m2v files and audio!! MPEG Streamclip/Compressor

    Hello!
    I am under an urgent deadline to upload a short 6 min documentary clip for a client to review for screening this week. The footage was shot in 1080/60i HDV.
    Usually, I find the best quality and fastest way to do this is to export directly from my FCP sequence using the '150 min Best Quality' DVD settings in compressor to get an .m2v video file and .ac3 audio file. Then I open the .m2v files in MPEG Streamclip which links it with my .ac3 file, then do 'Export MPEG with MP-2 audio". This gives me a single, muxed file that I can then upload to YouTube or Vimeo.
    However, with this project, when I open up my .m2v file in MPEG Streamclip, it's recognizing the .ac3 file and I can see the info for it in the MPEG Streamclip window, but when I play the file in MPEG Streamclip or mux it, I don't hear any audio. Furthermore, after about 5 seconds into the clip, the playhead will continue moving, but the video will freeze, then maybe pick up again later. The .m2v video will play back smoothly in VLC player or Quicktime player, but not in MPEG Streamclip.
    I've tried exporting different little sections of the timeline to see if maybe I had some corrupted footage or whatnot. I even exported a small clip from an older HDV project to test. But no matter where I export from, I am running into the same problem. I can bring the .m2v file and .ac3 file into DVD Studio Pro and burn a DVD with no problem, but I can't mux them. If I build the DVD file in DVD SP and try to open the .VOB file with MPEG Streamclip, I get the same problem. I even tried using a different software to mux (ffmpegX) but to no avail. When I try with ffmpegX, it either tells me I'm dropping frames, or if it works and it muxes it, when I open the MPEG file, it'll stutter at about 5 seconds in as well and I can't hear any audio, even though there is supposed to be audio in the muxed file.
    I think I might have updated my Quicktime a few days ago with the system update, and maybe updated a few other things, so I don't know if this has any bearing on the problems I'm running into. But I was able just a few days ago to export HDV 1080/60i using this workflow without any problems.
    I realize I have other export options, but this always seems to me to be the best quality and fastest way of doing it vs. encoding an H.264 which, on my machine is RIDICULOUSLY slow...I need to be uploading multiple versions of the cut to the client, and really need help! Thanks so much in advance!
    J

    what you want is an m2v program file. Export a reference copy from FCP (uncheck Make Movie Self Contained") That's very fast. Bring it into Compressor. In the settings panel find the MPEG-2 settings folder. Select Program Stream. Adjust to your liking and run. The audio and video will already be "muxed" when it's done and using compressor 3 you can set it to upload to YouTube, Mobile or similar sites.

  • Very Urgent?Facing Problems With Labels

    Hi All,
    It's Very Urgent,In My VC Application
    Label Have More Than 15 Characters
    I PUT Label Layout  To Long Label.
    My Label Name  online assignement date
    But Even Put Long Label, online ***.......
    Please Resolve The Problem ASAP.
    Thanks
    SubbaRao Chinta

    Hi Subbu,
    I told u already its an Know issue with Flex compiler ,Even u set the label to long label it will show u only short label.
    This issue is fixed with Flex2 compiler.
    Use Flex2 compiler for ur application then it will dispaly the total label u want display.
    Regards,
    Govindu

  • Urgent Sql Query Problem - -Very Urgent

    Hi Guys,
    I need a urgent solution for a problem.I am
    using the following query
    select ename from emp where deptno =10
    Now I will declare a bind variable and if user passes 'A'
    then the query will run as it is and if he passes B
    then it should run the above query with this additional clause -> birthdate - hiredate >15.
    Please can any one help its very urgent

    Assuming that you have a birthdate column in your emp table, the following will do what you are asking for:
    VARIABLE bind_var VARCHAR2(1)
    EXECUTE :bind_var := '&bind_variable'
    SELECT ename FROM
    (SELECT 'A' AS selection, ename FROM emp WHERE deptno = 10
    UNION ALL
    SELECT 'B' AS selection, ename FROM emp WHERE deptno = 10 AND birthdate - hiredate > 15)
    WHERE selection = :bind_var
    However, the clause "birthdate - hiredate > 15" will only retrieve rows for employees who were born more than 15 days after they were hired. I doubt that this is what you really want, since this is impossible.

  • Help urgently needed: bizarre problem - no audio in imported clip!

    Hey there!
    I have a bizarre - never the less urgent problem:
    When I import some material (presentations) which I have recorded on Mini DV with my Canon MVX10i Camcorder the following problem occurs:
    There is one particular presentation which somehow looses the audio during the import process!
    That means the imported clip has no audio even though the audfio is on tape! Other clips before and after do not have this problem - the audio is available after the import.
    A bizarre but serious problem for me. Any suggestions?
    Thanks a lot in advance
    Thorge

    I had a similar problem. When I started the tape from the beginning no audio would import. To solve it I started the tape a few seconds in and It seemed to work.
    Hope this helps.

  • URGENT: JAVA FTP problem

    Hi,
    I am trying to FTP (retreive) the files from external server, that is going through some proxy.
    I am using commons-net-1.0.0.jar file to do the FTP (FTPClient)
    2 files must be retreived (get) from that box. The local server is UNIX solaris.
    It is working fine in BC box and Dev box. The process is able to GET both the files.
    But in Production (Primary box), I am able to get only one file, and that is the smaller out of 2. Not getting the larger file.
    Program is not throwing any errors either.
    Not sure what I need to check or how to resolve this problem.
    Any help is greatly appreciated.

    There is little improvement from previous time (above mentioned problem)
    Now, first time when I run the program, it is working fine and I am getting the files back from external source.
    But if I run the program 2nd time (repeatedly) , it is not FTPing the files and program is hanging @ the retreival (FTP retreiveFile() ) part.
    i.e. If I run the program after certain gap like 3-4hrs, first time it is working fine. But starts hanging if I run 2nd time.
    Do I need to set something.
    Please help. Very urgent.
    Thanks in advance.

  • URGENT - Multi-form problem

    Would be great if anyone could help me with this:
    Say I have two forms A and B, A has a repeating timer
    which, when fires, will GO_FORM to B and B's WHEN-WINDOW-
    ACTIVATED should fire and do stuff. Problem is if
    the focus is already on form B at the beginning,
    form A's timer expires but form B's WHEN-WINDOW-
    ACTIVATED trigger doesn't fire as it IS already the
    active window of the two at the time of the timer
    expiration. So the stuff in B's WHEN-WINDOW-ACTIVATED
    won't execute when I want it to.
    Any workaround? I need a solution to this urgently.
    Thanks big time in advance!!

    and what makes me wonder is that looks like the focus
    did temporarily switch to form A in the background,
    confirmed by a check of the :SYSTEM.CURRENT_FORM and
    CURSOR_ITEM etc in the WHEN-TIMER-EXPIRED trigger. But
    still, if I GO_FORM back to form B, form B's WHEN-WINDOW-
    ACTIVATED just won't fire.
    Buggy WHEN-WINDOW-ACTIVATED trigger? Or misused?
    Please, anyone? By the way, form B is launched from
    a button in form A, just in case if that makes a diff.

  • URGENT - Flash Timer Problem

    Hey there, I;m having trouble to place a timer in my flash. I'm attaching the source file.
    The issue is such that I'm having 3 buttons, when triggered (RollOver) reveals an image or swf and when I rollout, it display a default random image, from an image directory. What I want is to delay the action trigger over the 3 buttons such that it fades out again in let's say 10seconds. Also, when the timer starts on any of the buttons I can rollover on any of the buttons and it overwrites the action from any previously rolled over buttons.
    Does that make sense and anyone can help me please. This is urgent as I'm trying to solve this problem and deadline is end of this week.
    Thanks
    Ben

    i generally only download and correct files if i'm hired to do so.  if you want to hire me, send an email via my website ( www.kglad.com ).
    if you want free help in this forum, you're more likely to receive it if you ask a question focused on a particular problem.

  • URGENT: ACCOUNT No. Problem

    Hi,
    I am facing a problem that when i check FI documents in MIGO then there is a Document number and it is stored in BSEG table. and when i check in the BSAK or BSIK table it is not present. when i check it in the tcode FBL3N THAT DOCUMENT is present and there is tick mark against it as it is in the open item coloumn.
    plzzz tell me what is the functionality of it as it is really urgent to me.

    Hi Abaper2008,
    if you post GR with migo the document looks like the following:
    Stock account debit / GR-IR account credit
       -(BSEGBSAS)          BSEGBSIS
                    or
    PL account debit / GR-IR account credit.
         (BSEGBSAS          BSEGBSIS
    This means you have no vendor in this posting.
    The invoice will be posted with miro:
    GR-IR debit   /   vendors account credit
    BSEGBSIS -   BSEG/BSIK
    GR/IR is cleared:
    (BSEG+) BSIS -> BSAS
    Inoice is cleared
    BSEG+ BSIK -> BSEG+BSAK
    Best regards
       Horst

  • Urgent!! Problem using NAS 3.0 TemplateMapBasic

    We are using NAS 3.0. For passing the data to the template,
    we are using the TemplateMapBasic object. But due to the requirement after setting the data, once again we need to get the data from this map object and modify it. For getting the data we are using getString() method of TemplateMapBasic. The data being set to this object initially contains some Japanese characters data also. When i am retreiving the data, that time the data is coming in some unreadable format. And this
    problem is only coming when i am running the code in UNIX environment. I am getting the data correctly on NT. When i tried to print the system encoding on both unix and NT, the encodings are coming as different. For Unix, the encoding is MS932, whereas for NT, the encoding is coming as SJIS. Please let me know is this problem due to some system encodings problem or it is due to TemplateMapBasic's getString() method.
    If anyone faced this problem, please let me know the solution.
    It is very URGENT..
    Thanks..
    Anshumn

    I am experiencing the same problem with CCA 3.0.1 (EN) and a new SR520W (Fast Ethernet) router.
    Attached is a screen shot of the point of failure in the CCA Device Configuration Wizard.
    In the Wizard, clicking the Modify button in the WAN configuration page is a repeatable show stopper.
    Please let me know with this bug is fixed.  Until then, I will need to do the Device Configuration using a command line terminal.
    Arnold

  • URGENT:Income Tax Problem in Payroll

    Hi dear friends,
    when India payroll is run the Conveyance Allowance is not considering for Income TAX Exemption.
    I had assigned the TAX Code correctly with limit 800 per month.
    When i check the technical Wage Type /130 ,it contains only HRA amount which is having tax exemption.
    My conveyance allowance Wage type is in IT 0008.
    I am struggling with this problem @ client location.
    Please give a help by checking out this problem
    <b>Wishing you all a Happy X-Mas and Prosperous New Year
    Regards</b>

    Hi Abhilash,
    Please check the following tables.
    1.  V_T7INCA----
    Conveyance Types.
    2.  V_T7INC9----
    Conveyance Allowance Eligibility. Here You need to assign
                                 Grouping for Allowances for each Conveyance Type and WT 
                                 for Conveyance.
    3.V_T7INT9----
    Taxability of Wage Types. Here You need to assign the
                             Conveyance WT to Taxcode SCNV with Exemption amount of
                             Rs 800 and Tax Type is 'Tax amount is Limit Based' and
                             frequency is 'Monthly'.
    4 You have to maintain table V_T7INA9 with that WT.
    Try with this.....
    Good Luck
    Laxmi

  • Urgent text shifting problem with pdf creation from indesign

    I have eps files placed in indesign and when some pages of my document are exported as pdf for press, the text moves slightly, like 1/16" or less, but enough to cause problems.  I'm using the original Indesign CS and eps files saved out of Illustrator 10.  Yup, old.....I know, but it's what I have to work with right now.  Some files are working fine but others are don't and they were all created/saved/exported the same, as far as I can tell.  Here's a small sample.  All the street name text is shifted down and to the left from the actually street.  Occurring with text on path as well as straight text.  Any ideas greatly appreciated.

    You might also try exporting to .idml form CS5 (see Remove minor corruption by exporting). We've had other reports of similar beahvior when working with legacy files, and exporting to .inx from the original version may work even better.

  • URGENT!! problems with Unix command, please help

    I am trying to use the following Unix command and I keep getting error messaages from stdError. However if I run the same command from the command line it works perfectly. For some reason when I run the command from inside the program it thinks the append symbol ">>" is another file.
    String command = " cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist ";
    Process p = Runtime.getRuntime().exec(command);
    The error get is :
    /bin/cat: >>: No such file or directory
    Any help would be greatly appreciated

    The better solution for this problem is write a shell script for the action you wnat to perform and execute it using the runtime.exec().In your case just cut and paste cat /users/02/wjoc1/Test/list.mod >> /users/02/wjoc1/Test/Blacklist in to a file and save it. use that file as a argument for the exec method it will work.
    cheers
    R.Karuna

  • Very urgent!! Problems with the H.263 codec on JMStudio

    I downloaded the JMF Version 2.1.1e ' version.
    The H.263 codec doesn't work.
    I noticed that the file sound.jar wasn't in the lib directory of JMF-2.1.1e.
    Is for this reason I have problems with the H.263 codec??
    Thanks for your help.

    What do you try to broadcast? H263 is a video codec, not audio..

Maybe you are looking for

  • How do I mount my internal hard drive?

    Can anyone tell me how to mount my internal hard drive?  I have a macbook air late 2010 model.  128gb flash storage.  I was having problems because it would freeze on me after sleep.  I ran disk utility and repair disk.  It says everything is fine. 

  • No Scaling When I Try to Print an Email

    I'm running OS X 10.9.5 on my computer. Trying to print an email from the Mail App (the one that comes with OS X). All configurations for printing are on scale to fit size on A4. Yet, no emails scale and they end up being 3 pages long, having halv of

  • Cs6 trial on mac not opening error 4960

    trying to download cs6 trial on my mac i open and a error cannot open disk something error 4960. download bar/window keeps running as if it will extract but it wont

  • Are 'Select' and 'Refresh' supposed to be sticky in VM Manager GUI?

    VM Manager 2.2 - very nice GUI - pretty intuitive and easy to find your way around. Congrats to the team that added this. I did notice a couple of things: The 'Select' radiobutton choices and 'Refresh in:' dropdown choices are not sticky in the VM Ma

  • Firefox will not open at all. Google Chrome main browser.

    Google Chrome my main web browser with Comcast as home page. Now Firefox will not open at all. What do I do. Delete Firefox and reinstall is what I think?