Sending mail in inbox not bulk!!!??how???

hi
i ve been trying to send an email in inbox but it doesnt work at all.
all my email goes in bulk ??is there any setting that i have to configure ????
thank u for ur helping......

Make sure you set the sent date on the message and set the mail.from property on the session.
Properties p = System.getProperties();
p.put("mail.from", "[email protected]");
// add your other properties here
Session mailSession = javax.mail.Session.getInstance(p);
MimeMessage message = new MimeMessage(mailSession);
message.setSentDate(new Date());
// other message settings
The "mail.from" property on the session is separate from the value you are setting with the "message.setFrom(...)" function. It is used in generating the message-id header which some spam filters will take into account.
Of course, if the content you're sending is triggering the spam filter then it doesn't matter how you set the properties!
Hope this helps.

Similar Messages

  • Yosemite mail v8.0 not showing how many messages are in a mailbox. For example inbox. Before upgrading it used to show how many messages you had in your inbox. anyone know how to switch "on" the number of messages?

    Yosemite mail v8.0 not showing how many messages are in a mailbox. For example inbox. Before upgrading it used to show how many messages you had in your inbox. anyone know how to switch "on" the number of messages? Or has this feature been removed?

    Agreed! This feature was very useful. If you find out how to turn it on, please let me know.
    Apple, there is plenty of room in the window header all the way across on both sides of the word "Inbox". It's important to know many messages are in the Inbox. It provides a progress meter when you're cleaning out mail and striving for inbox zero.

  • Problem in sending mail to inbox

    I know this may be not a rite place to post the forum,but considering the
    replies for today in javamail ,i feel this is much better place to ask my
    problem.
    I coded a jsp which is used to send mail to providers like yahoo.com,
    hotmail etc.But problem is that mail goes to junk folder.
    After playing the from: field though yahoo shows some success rate
    but hotmail always make it junk and sometimes not even accepts.
    How can i send mail to inbox only.

    Some mail providers require you to have a reverse DNS listings for your servers. I believe hotmail is one such provider.

  • Cannot Send Mail - You did not specify any recipients

    Hi all,
    I have an email stuck in my outbox which has the "This message has not been downloaded from the server" issue I have seen on this forum. Everytime I go to my email folders list, I get the 'Cannot Send Mail - You did not specify any recipients' error message. I am unable to trash it, move it as I get the 'Unable to Move Message' error.
    Any ideas how I can remove this message and clear my outbox!?
    Thanks,

    Me too! This is very annoying. I LOVE Apple but this new 3G keeps on throwing curveballs at me. I, too, deleted my e-mail account from my iPhone to get rid of this "unsent message" but with Apple you shouldn't have to do that! Certain that it will happen again, I'm interested if anyone comes up with any fixes so that next time we don't have to delete/add e-mail account.

  • I can send in hotmail, but not recieve, how do I fix this

    # Question
    I can send in hotmail, but not recieve, how do I fix this
    I send a test to myself, and it doesn't go through,
    also links from searches don't arrive

    Hi there, thanks for your reply, I cannot give you the URL as this is Cloud Based Farming Software which requires a Login and Password. All I can tell you is that it is written in PHP. There are many graphs, all of them print from IE but no not print from Firefox.
    Cheers
    James

  • TS1307 Why does send mail just stop working and how do you fix it?

    Using MacBook Pro bought last Chrismas and its mail client 5.2
    In the last 2 weeks send mail has stopped working for both my wife and myself (we have different logins / accounts / email address providers)
    We have tried different wifi / isp providers
    rebuilding the mail database
    accessing preferences and changing the default ports to specified port 25 and then back again
    taking the mail accounts off-line and then back on again
    deleting the accounts and then creating just one simple one (GMail)
    no change - send mail still does not go.
    What should we do now?
    What have we done wrong to cause this to fail in the first place?
    It was working fine, but now it is not.
    It is quite worryingand a fix would be greatly appreciated
    Thanks in advance
    Steve

    Hmmm, here's the opposite problem/fix...
    Gmail send but not receive...
    Here are two steps that have come in handy in related situations
    1) login to gmail on your computer or device via a web browser
    2) once logged in successfully, go to this URL to unlock:
    https://www.google.com/accounts/DisplayUnlockCaptch
    Is your gMail POP or IMAP?
    If IMAP...
    Is the Outgoing server smtp.gmail.com, port 25, SSL on, & Authentication = Password

  • HT5312 I forget answers to security questions,on the other hand rescue email address that Apple use to send me email is not correst,how I can reset security questions or change rescue email ?

    I forget answers to security question , on the other hand rescue email address that Apple use to send me email is not correct , how I can reset security questions or change and make correction for rescue email address ?
    Please send me answer to [email protected] or [email protected]
    Thank you

    You need to contact Apple. Click here, phone them, and ask for the Account Security team.
    (87669)

  • 3GS 3.0.1 - Cannot send mail, You did not specify any recipient

    Whenever I send a message from iPhone with MobileMe account and then resync the account with server (Push is off), the very same message, already sent with success, appears in Outgoing folder and error pops up saying:
    *Cannot send mail, You did not specify any recipient*
    See the picture below:
    http://gitarzysta.com/iphone/error1.jpg
    It cannot be deleted, either - error message pops up saying: *Unable to move message*
    http://gitarzysta.com/iphone/error2.jpg
    Important: it was sent and received successfully. It is just either iPhone, MobileMe or both that have problems to sync correctly.
    On my Mac that I sync with this MobileMe account all is fine.
    What can be wrong? There was an old topic here, from 2008, where several users of 3G had exactly the same issue, but no root cause or solution was provided.
    Thanks!
    Message was edited by: gitarzysta

    Try deleting and manually recreating the account on your iPhone.
    If you transferred the account settings from your Mac via the iTunes sync process - selected under the Info tab for your iPhone sync preferences with iTunes, deselect this for your iPhone sync preferences followed by selecting Apply before doing so.

  • 'Error Sending Mail :send_mail.ksh: not found'

    Hi all,
    com/btw/pricemaker: under this directory i have kept all the required class files and also the shell script.
    R_ConcatenatorRatingComponent.class
    InputProcessor.class
    InputProcessor$FilesHandler.class
    InputProcessor$BatchStringTokenizer.class
    send_mail.ksh
    set_mail_details.ksh
    OutputGenerator.class
    and i created a jar file
    $jar -cf pmbtw.jar com
    when i run the prog i am getting the above specified error.
    Can any please help me.

    I wrote a function in java to send a mail ,
    if (emailFile.exists())
                sendMail(emailFile.getAbsolutePath());
    public void sendMail(String filePath)      {
           String mailIds = "[email protected]";
           String from = "[email protected]";
           try{
                String sub="<PM>:Alert there are some data mismatch in the file";
                      //subject=subject.replace(' ','~');
                 String body = "These are the records in which NTSCLI Rate is greater than or equal to VOIP rate.";
                   //body=body.replace(' ','~');
                 String exec_command = "send_mail.ksh "+subject+" "+body+" "+mailIds+" "+filePath;
                              Process p = Runtime.getRuntime().exec(exec_command);
                   int exitVal=p.waitFor();
                   if (exitVal != 0)
                        System.out.println("Error Sending Mail: script was not executed");
              catch(Exception e)
                  System.out.println("Error Sending Mail: " + e.getMessage());
         }please any one help me :-(

  • Out of office message when sending mail to Lotus Notes from SAP

    Hi,
    Is it possible to have an 'out of office' message when sending mail to Lotus Notes from SAP?
    I'm sending account statements by mail via a modified version of function FI_OPT_ARCHIVE_CORRESPONDENCE. The SAP username is send as a parameter, and later converted to the e-mail saved in the user profile. This works, - but I would like to have an out of office reply if the user I send to is out of office.
    Hope someone can help...
    Regards,
    Lene

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
    Srinivas

  • Sending mail to LOTUS NOTES inbox.

    Hi all,
    I am working on WORKFLOWS and i need to send a mail to lotus notes inbox. I have got the function module to send the mail.I Created a method for sending the mail. But Where and how to impletement this method in the work flow.
    Please through some light on this.
    Regards,
    Gautham

    As Thomas pointed out, you can use regular SMTP mail to send the contents to Lotus Notes. You can use the function module SO_OBJECT_SEND or any of the SAP Office function modules to do this.
    Only thing to remember is that the SMTP may have been disabled by your basis team due to security risks involved. An alternative could be a lotus notes connector available from IBM.
    Srinivas

  • Send mails via Lotus Notes using VFP

    Hi all,
    I have an VFP application which is allowing send emails from Lotus Notes. Currently it sends mails from the default account in Lotus notes. But now there is a requirement as follows.
    An email address can be defined from our application. Say
    [email protected] Lotus notes has been configured with two mail accounts such as
    [email protected] and [email protected] and the default email is
    [email protected] Now we have to send emails from our application with
    [email protected] email address. Not the default email address.
    To do this we have to read all email accounts configured in Lotus Notes using VFP. And look for the email address
    [email protected] and mail should be sent with that account. Can anybody guide me how to do this using VFP? Thanks.
    Best Regards,

    This is actually a Notes question. You need to find out whether the Notes automation server provides what you need and how to do it.
    Tamar

  • Can JavaMail send mail to Lotus Notes?

    Can JavaMail send e-mail to Lotus Notes?
    If I can't, is there any alternative method?
    I need it for my J2EE project.
    Thanks!!
    Dan. :)

    Cann you explain how?
    Can you put an example?
    Thanks in advance.

  • Cannot send mail - server does not allow relaying

    I keep getting a sporadic error message on my ipad: "cannot send mail. The recipient was rejected by the server because it does not allow relaying". Sometimes it doesn't happen and the mail sends fine. Sometimes I get the error message but the message then sends later. Sometimes it never sends.
    Can anyone help?

    Hi, I've suddenly encountered this problem.  I have a 1st gen iPad.  I've reset, deleted, re-added, turned on both outgoing servers, added my password--this last doesn't stay in the primary outgoing server field; when I go back in, the password field is filled with the (optional) text again and when I 'click' into the authentication box, the password is no longer checked.  However, these are all filled in the secondary outgoing server, so it shouldn't matter.  Restarted the iPad a couple times.  Using system 5.1.1--I think that's as far as I can go.  Any miracles out there?

  • Deleted notes from g mail and all notes disappeared.How do I retrieve.

    I was purging my g mail on my i pad and removed notes. I don't want the notes in g mail - only in notes.
    Before I knew it, my notes were completely gone. So I turned wi fi off on ipad and ipod so that i could save the notes in
    i pod and perhaps save all. However, playing around with settings, I turned notes off on i pod - wifi off - and notes disappeared.
    No clue what I did and how to undo it. I keep thinking if I can retrieve notes on ipod I can rewrite and synch to ipad - then- voila! all problems will be solved. Any suggestions?

    Try restoring from backup. If you do that by USB, make sure that autosyncing is turned off. Otherwise, when yo connect, the previous backup will be overwritten by the current contents of the iPod andwhich does not include the Notes.
    To turn off go to iTunes>Preferences>Devices and check the box that says "Prevent iPods...  syncing".

Maybe you are looking for