Help...JDIC won't send subsequent email message

Hi,
I have the following codes inside my Swing application. It just creates a message with attachments. The first time that I execute it, everything seems to work well...Outlook Express pops up and I was able to send emails.
But ...after sending the first email inside my Swing application, on subsequent tries, Outlook Express would pop up but with a message "This Message has not been sent" and the "SEND" button is missing. Everything inside Outlook Express indicates that all emails have been sent. Any ideas? Thanks
private void processSendMail() {
List lst = new Vector();
if (sendProjInfo) {
lst.add("c:myfile.txt");
if ((sendImage) & (((PO.getProjInfoObj()).getImage()).length() > 2)) {
lst.add((PO.getProjInfoObj()).getImage());
Message msg = new Message();
try {
msg.setAttachments(lst);
catch (Exception x) {
System.out.println("** err sending attachments ");
x.printStackTrace();
try {
Desktop.mail(msg);
catch (Exception x) {
System.out.println("** err mail msg ");
x.printStackTrace();
msg = null;
lst = null;
dispose();

If the email hasn't arrived after a few hours and isn't in a spam filter, you need to ask Apple to reset your security questions; this can be done by clicking here and picking a method, or if your country isn't listed, filling out and submitting this form.
They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
(107589)

Similar Messages

  • Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hey lozza567,
    Thanks for the question. I understand that you are experiencing issues sending MMS messages. The following resource may provide a solution:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Issues with sending and receiving MMS
    You will need these to send and receive MMS:
    - An iPhone 3G or later.
    - iOS 3.1 or later.
    - A cellular data connection. MMS isn't available if you are using only Wi-Fi.
    - A domestic MMS plan from your cellular provider. You may need an international messaging plan to send MMS to an international contact. Contact your carrier for more information.
    - A roaming MMS when using a cellular provider's network different from your billing cellular provider's network. Learn more about roaming and contact your carrier for more information.
    To resolve issues with sending and receiving MMS, follow these steps first
    1. Go to Settings and turn airplane mode off.
    2. Go to Settings > Messages and turn MMS Messaging on.
    3. Go to Settings > Cellular and turn Cellular Data on.
    4. Go to Settings > Cellular and turn Data Roaming on if you are roaming on a cellular provider network different from your billing provider's network.
    5. Verify that you have a cellular data connection in the status bar at the top left of your iPhone.
    6. Go to Settings and turn Wi-Fi off. Open Safari and navigate to www.apple.com to verify that you have a data connection. Turn Wi-Fi back on to continue using Wi-Fi for other features. If your cellular data connection isn't available, follow these steps.
    7. Verify that you can send and receive SMS. If you are unable to send and receive SMS, see the "Issues with sending and receiving SMS" section, above.
    8. MMS may not be available while on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn more about which network your phone supports.
    9. Restart your iPhone.
    10. Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    11. Reseat your SIM card.
    If you are still unable to send or receive MMS, follow these steps
    1. Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    2. Go to Settings > Messages and turn on group messaging if you are sending a group message.
    3. Make sure that you are using the area code with the contact's phone number. When sending messages internationally, you also need the contact's international code.
    4. Verify a "Pay as you go" MMS plan has enough available balance. Contact your carrier if unsure of your MMS plan or available balance.
    5. If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    6. If the issue occurs with a specific contact or contacts, delete and re-create the contact from the Contacts application. Create a new message to the newly created contact and try again.
    7. Back up and restore your iPhone as new.
    8. If your carrier has recently ported your phone number, the porting process may not be complete. Contact your carrier to confirm that the porting process is complete.
    9. Contact your carrier to verify that you are provisioned to send SMS and are in an area with cellular coverage.
    10. Contact your carrier to verify that there are no blocks or filters placed on your wireless account preventing you from sending SMS.
    11. Your carrier may require APN settings to be modified to use MMS. Learn more about when you should adjust APN settings.
    Thanks,
    Matt M.

  • Hi. I d like to email a photo from iPhoto but I keep receiving the same error message saying that the combination username /password is incorrect so it won't send the email. How do I reset these parameters so I can email my pix? Thx

    Hi. I d like to email a photo from iPhoto but I keep receiving the same error message saying that the combination username /password is incorrect so it won't send the email. How do I reset these parameters so I can email my pix? Thx

    You have a number of things that will make this not work.
    Your mailto link is not the way to go, take a look at this and it should get you on the right path.
    http://www.paulgdesigns.com/learncontactform.php
    On your action page, you can have it give the thank you message that you want.  Having a seperate page saying they forgot to do something complicates matters more than you might wish at this point, and usually irritates people. however if you decide you want to go that way, look up "sticky forms".  What this does is re-populate the fields when they have to go back to correct.
    A better way would be to validate the information, you can use Spry if you want which is built into dreamweaver.
    You also have in your html form this
    enctype="multipart/form-data"
    That is used for sending files, and since you are not, the form would not work, so you want to remove it.
    Hopefully that will give you a starting point.
    Gary

  • Imessage won't send or receive messages?

    I've been having a bunch of trouble with imessage. It won't send or receive messages 75% of the time when I'm trying to use it. I've reset my network settings multiple times, restarted my device multiple times, and logged out and back in. My wifi is fine. Everything else works. Except imessage.

    Hi IssiHerondale,
    Here is an article for you that will help you troubleshoot this issue with iMessage:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    If you can't send and receive iMessages
    You will need these to send and receive iMessages:
    An iPhone, iPad, or iPod touch
    iOS 5.0 or later
    A cellular data connection or a Wi-Fi connection
    A phone number or Apple ID registered with iMessage in Settings > Messages
    To resolve issues with sending and receiving iMessages, follow these steps
    Check iMessage system status for current service issues.
    Go to Settings > Messages > Send & Receive and make sure that you registered iMessage with your phone number or Apple ID and that you selected iMessage for use. If the phone number or Apple ID isn't available for use, troubleshoot iMessage registration.
    Open Safari and navigate to www.apple.com to verify data connectivity. If a data connection isn't available, troubleshoot cellular data or a Wi-Fi connection.
    iMessage over cellular data might not be available while you're on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn which network your phone supports. If your network doesn't support simultaneous data and voice calls, go to Settings > Wi-Fi and turn Wi-Fi on to use iMessage while you're on a call.
    Restart your device.
    Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    If you still can't send or receive an iMessage, follow these steps
    Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    Make sure that the contact you're trying to send a message to is registered with iMessage.
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact in the Contacts app. Create a new message to the newly created contact and try again.
    Back up and restore your device as new.
    If you aren't receiving iMessages across all iOS devices
    Go to Settings > Messages > Send & Receive on each iOS device and make sure that you signed in with your Apple ID. You must use the same Apple ID on each device.
    Go to Settings > Messages > Send & Receive > You Can Be Reached By iMessage At and make sure that you selected each phone number and email address you want to use with iMessage.
    If you linked a phone number to your Apple ID with iMessage and the phone number hasn't appeared, followthese steps.
    Sign out of your Apple ID in Settings > Messages > Send & Receive and Settings > FaceTime on all devices.
    If you're linking a phone number to an Apple ID, sign in to iMessage on your iPhone first. Then sign in to the rest of your device one by one with iMessage and FaceTime.
    If your iMessages didn't transmit as SMS when iMessage was unavailable for use
    Go to Settings > Messages > Send as SMS and turn on Send as SMS.
    Select your phone number when Sending iMessages in Settings > Messages > Send & Receive > Start New Conversations From.
    Make sure that you can send SMS with Settings > iMessage turned off.
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • I have a new email and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address

    i have a new email so have a new apple ID now and am trying to change it in icloud. but it has locked me out and won't send my email a reset password link for some reason. even though it says its sent, it doesnt come to the email address. help!

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    You will need to show patience with the procedure and be prepared to demonstrate without question that the account belongs to you. Don’t expect access to be restored immediately and if you aren’t the owner of the Apple ID registered to the device the account won’t be reset.
    This is answer is provided from my own database of boilerplate responses and the content was last reviewed and/or tested on: 2014/12/18

  • HT1277 I have OS X 10.9.2 and have downloaded maverick. If I am sending an email message to one person, options for addresses  from my address book show up. However if I want to send it to more than one person, the address options for the others do not sh

    I have OS X 10.9.2. and have downloaded Maverick. If I am sending an email message to one person, options for addresses from my Address Book appear. However if I want to send it to more than one person, the potential addresses for the other persons do not show. Can you please help?

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • Contact form won't send to email

    I've done this contact form loads of times and it works fine but for some reason this particular form won't send to email. The php is good so it must be my form. I'll put both bits of code up anyway. Thanks
    PHP:
    <?php
    if ($_POST){
    if (!filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL)){
    $message="Please provide a correct email address";} else {
      $name = strip_tags($_POST['name']);
      $company_name = strip_tags($_POST['company_name']);
      $telephone = strip_tags($_POST['telephone']);
      $email = $_POST['email'];
      $comments = strip_tags($_POST['comments']);
      $to = '[email protected]';
      $subject = 'Contact form submitted.';
      $body = $name. "\n". $company_name. "\n". $telephone. "\n". $email. "\n" .$comments;
      $headers = 'From: ' .$email;
      if (mail($to, $subject, $body, $headers)) {
      echo 'Thanks for contacting us. We\'ll be in touch soon!';
      } else {
      $message = 'Sorry an error occurred. Please try again later.';
    ?>
    <?php echo "<p style='color:red'>$message</p>"; ?>
    HTML:
    <form id="contactform" action="" method="post">
    <p>Name:<br/><input name="name" type="text" required /></p>
    <p>Company Name: <br/><input name="company_name" type="text" required/></p>
    <p>Telephone: <br/><input name="telephone" type="tel" required/></p>
    <p>Email: <br/><input name="email" type="email" required/></p>
    <p>Comments: <br/><textarea name="comments" required/>   </textarea></p>
        <input type="submit" name="submit" value="Send!" formmethod="post"/>
    </form>

    PEAR is a library of useful functions that is often included in a PHP installation.
    BUT. . .PHP only uses the mail capabilities of the server. If the server doesn't allow it, then you may not able to send email no matter what. . .however, I am not absolutely sure of that. I have never had to work with a server that did not support mail.
    SMTP is a protocol that uses an email account to send mail. You may be able to tie your mail to an external SMTP account, for instance even a GMAIL account. PHPMailer is an add-on that you can use to do this. You can install it on your website. It isn't hard to use, but it is more involved than simply using PHP mail().
    But really, have a conversation with the server admin about all of this. Find out why PHP mail isn't installed, and if he is willing to install it.

  • Is there away to send an email message on the ipad with a photo attachment "not" inline in the message?

    I need to send an email message on the ipad with a photo as an attachment "not" inline in the message?  I do not want the photo embedded in the email message.  I'm using exchange on the ipad. 

    Apple Mail will display attachments that are one page or less. While the photo will be displayed it is sent as an attachment. The recipient can click and drag the photo to their desktop just like any other attachment.

  • Update on help with PHP to send an email

    On Jan 9th Iasked for help Asking for help with PHP to send an email wanting to send myself an email when a particular web page was opened.The group gave me lots of ideas / suggestions but unfortunately I was not able to make it work the way I wanted. But.. with perseverance.. made it work. The original PHP code I wanted to use was:
    <?php mail('[email protected]','Subject of the e-mail','This is the body of the e-mail!'); ?>
    After much trial and error. this is what I found works.. for me at any rate. My log in sets a cookie that welcomes my user back by name so I ended up using that information with this:
    <?php
    if (isset($_COOKIE["last_in"])) {
      $user = $_COOKIE["last_in"];
    mail('[email protected]','News Page',"$last_in");
    ?>
    Again, thank you for all the help with my initial question.. there are a multitude of ways to accomplish a task, and for me this is the one I was looking for.

    On Jan 9th Iasked for help Asking for help with PHP to send an email wanting to send myself an email when a particular web page was opened.The group gave me lots of ideas / suggestions but unfortunately I was not able to make it work the way I wanted. But.. with perseverance.. made it work. The original PHP code I wanted to use was:
    <?php mail('[email protected]','Subject of the e-mail','This is the body of the e-mail!'); ?>
    After much trial and error. this is what I found works.. for me at any rate. My log in sets a cookie that welcomes my user back by name so I ended up using that information with this:
    <?php
    if (isset($_COOKIE["last_in"])) {
      $user = $_COOKIE["last_in"];
    mail('[email protected]','News Page',"$last_in");
    ?>
    Again, thank you for all the help with my initial question.. there are a multitude of ways to accomplish a task, and for me this is the one I was looking for.

  • HT1338 Why when trying to change my apple ID password apple won't send the email with the change instructions?

    Why when trying to change my apple ID password apple won't send the email with the change instructions?

    There is a contact link.
    Apple ID Support

  • My iChat won't send or receive messages.  It shows as online to me but offline to other users.

    I have just gotten a new mac and I'm trying to set up my ichat.  I went through the normal ichat process to set it up but it won't send or receive messages or let me add a buddy.

    Hi,
    So iChat is Launched.
    You can se a Buddy List fror what ever Screen Name type this is ?
    However although it reads Available at Your end anyone beyond your Mac Firewall and the Routing device do not see you as On Line ?
    Have yoiu set up several Screen Name /Buddy Lists ?
    Is one set to Invisible ?
    Are they linked in to one list via the setting in iChat Menu > Preferences > General Section ?
    8:46 PM      Tuesday; August 23, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Imessage won't send or receive messages. I tried several different wifi connections and ethernet and still nothing. Maybe my outstanding balance is restricting my imessaging?

    imessage won't send or receive messages. I tried several different wifi connections and ethernet and still nothing. Maybe my outstanding balance is restricting my imessaging?

    Welcome to Apple Communities
    Open Finder, press Option key and select Go > Library. Open Preferences and delete com.apple.imessage.bag.plist and com.apple.imservice.iMessage.plist

  • When I send an email message, my Mail shows two messages outgoing instead of just the one I am sending.  What is going on?

    When I send an email message, my Mail shows two messages outgoing instead of just one. 
    What is going on?  Is it possible some "spyware" has crept in?

    There is an email address on my website that automatically forwards to my "regular" email address, but this problem predates setting up that website.  My primary email is a bellsouth account (AT&T) which switched to a Yahoo mail-supported service....so based on your comments, perhaps that is why the activity is looking weird.

  • New iPad won't send out emails on VerizonLTE or 3G network, but will do so on wi-fi - help?

    Been through the wringer on this one. Verizon or local cable  co. have not helped. New iPad will not send out emails while in LTE or 3g, but will do so in wi-fi. Have checked settings, restarted, reset settings, etc. Any ideas would be appreciated. BTW, I have an iPhone with Verizon and it sends out emails with exactly the same settings as the iPad while on 3g. This has been nuts.

    Hi all:
    Just found the answer to this thanks to Chris CA. In outgoing email settings, for some reason, the new iPad must have username and password entered even though it says optional. Once I entered that data, emails sent right out! The Verizon techs or my cable co. techs never suggested doing so after many hours of troubleshooting. This forum always has the real "experts". Thanks again, Chris.

  • How do I fix my 3gs after 6.1.3 update? It will no longer send / receive group messages and won't send pic text messages either.

    Ever since I updated my 3gs (on ATT) to 6.1.3, it will no longer send or receive group texts, and it won't send picture messages
    (though I seem to be able to receive picture texts). I've looked around on the boards, and here's what I've tried so far (to no avail):
    1. Tried simply turning off / on
    2. Tried hard reset
    3. Tried having imessages off
    4. Turned group messaging off / on (tried while it was off)
    5. Turned off all messaging, turned phone off / on, turned all message settings back on
    6. Reset network settings
    Help! Argghh!!! I never had this much trouble when my previous phone was jailbroken! Here I am, trying to be good!

    Thanks, Nick. Calling ATT is a last resort; it's a software issue, I'm sure, and I've also found other
    people having the same issue, but none of the fixes work. I reset all my settings: nothing. I'm not sure what you mean by restrictions.

Maybe you are looking for

  • Ios7 can't connect to wifi ad-hoc network

    Hi, I have a problem connecting my iPhone 4S to the ad-hoc wifi connection my macbook creates when "sharing" the ethernet internet connection through wifi, with iOS6 it worked flawlessy. I have no problems connecting in wifi to my router though. Anyo

  • WRT320N drops connection

    Hi all, First my setup: I have a pc that has a wired connection to the WRT320N. I have a mediaplayer that has a wirless connection to the WRT320N. And I have a laptop connected wireless. I also use Network magic Pro. Situation: I have mapped the medi

  • XI - restrict access to Communication Channel and Receiver Agreement

    Hello Experts, We are trying to restrict the access to certain communication channels and receiver agreement in our XI system. We are able to restrict access to business service but not the afore mentioned objects. Our XI system version is 7.0 with S

  • Save as Draft

    Hi   I want  that particular user should not be able to save Sales Document in Draft Mode. Only for Sales. Thanks

  • I purchased multi-computer license of Lightroom. First computer loaded fine.  Cannot get the second one.

    I purchased a multi-computer license of Lightroom 5.  The first computer was no problem.  I am unable to figure out how to get it onto a second computer.  I have an Adobe account and can sign in.  It shows my license.  How do I get it for my laptop?