Sending emails from inside an applet (Please help!)

Hi all!
I�d like to send an email from inside the applet. For this reason I need to get the Systemproperties, don't I ?
Properties props = System.getProperties();
props.put("mail.smtp.host", mailhost);
... and set the mail.smtp.host Property my smtp-host.
But as I try to get the systemproperties from the applet, I get the exception:
com.ms.security.SecurityExceptionEx[Sendmsg.<init>]: Unable to access system properties.
Can somebody tell me, how I can solve this problem? Which properties are needed to send mails?
Does it work, if I just create my Properties, and set only the smtp.host?
As I continued my experiments, I realised that it is not only the mail.smtp.host property, that is needed by the applet, but java.home, and many more...
So is it possible to send emails in this form at all??
Pleeaaaase help, I have to hand in my project very soon!
Thanks a lot,
Gabor

I've found a site about signing:
http://www.suitable.com/Doc_CodeSigning.shtml
I think you can read german, therefore the german newsgroup de.comp.lang.java is a good point to search. Use http://groups.google.com to search the group.
Uwe

Similar Messages

  • After update, cannot send email via any accounts! Please help!

    First of all, thank you for reading my thread.
    After updating few days ago, I cannot send any email via any acounts. I have .mac email and yahoo email. But I still can receive emails. I have checked message borad, it said "Some members experienced difficulty sending .Mac Mail via computer email applications from 3:30 am to 6 am Pacific Time. Normal service has been restored." But mine hasn't!!! It has been almost a week!!
    The erro message says "cannot send email using this mail server, please choose one of the following server and retry again"
    My english is not very good, I hope you understand my question and any help would be appreciated, thank you again.

    Thank you very much for your reply!
    This is what I got:
    PING smtp.mac.com (17.250.248.45): 56 data bytes
    --- smtp.mac.com ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    PING mail.mac.com (17.250.248.152): 56 data bytes
    --- mail.mac.com ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    It seems the problem is the server, but it has been many days, I don't think apple haven't had notice this.
    What should I do next?

  • How can I send email to iTunes support? Please help

    I want to email iTunes because I have a subscription login problem with tennistv.com, is there a particular person to send to. Please help me.

    http://www.apple.com/emea/support/itunes/contact.html
    you can choose the country at the top right side of the page

  • My iPad 3rd gen does not send emails post newest update. Please help

    MY 3rd generation iPad has stopped sending emails, it all started after the most recent apple update, 3/22/13.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Setting Up An eMail Account
    http://support.apple.com/kb/ht4810
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • TS3276 can't send emails but can get them please help

    cant send emails but can get emails just fine

    Troubleshooting Apple Mail
    What does Mail/Window/Connection Doctor Show? If the server is red, select it and look at the Show Details box.
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages
    SMTP servers keep going offline

  • When i try to send email from my ipad i get the message The recipient "£)()&&£)" was rejected by the server. This has only just started to happen and I don't know why. Please help. I have tried lots of things now and cannot solve it.

    When i try to send email from my ipad i get the message The recipient "£)()&amp;&amp;£)" was rejected by the server. This has only just started to happen and I don't know why. Please can someone help. I have tried lots of things now and cannot solve it.

    "Your email account" means to tap on the name of your email account. Whatever it is listed as in the settings.
    In my mail settings, one of my email accounts is a Comcast account. I tap on the Comcast name and it brings up this window.
    Then I tap on the arrow under the Outgoing mail server smtp setting to get to the next window.
    In the resulting window, I then tap on the arrow next to the smtp server under the Primary Server setting.
    That brings up this window in which I check to make sure that my user name and password have been entered correctly. If those items are missing, enter them in the appropriate fields and then tap done.

  • Apple iPad 3. BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Can anyone help me please.

    BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Apple iPad 3. Can anyone help me please.

    All resolved at last
    Deleted the SMTP setting
    Recreated the SMTP using the same settings
    Able to send emails now
    No logic - as usual - just a bug!

  • TS3899 In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    In my iPad 2 with IO6 today I can not send emails from my gmail account, they go to the outbox directly...why? How can i solve this problem? ..I restarted the IPad but the problem was not solved. Please help.

    Greetings,
    Questions:
    1. What version of the Mac OS are you running (Apple > About this Mac)?
    2. What version of the iOS are you running (Settings > About)?
    3. Do you use MobileMe/ iCloud or another server based sync solution like Google or Yahoo?
    4. Do other changes to synced information like Address Book content sync successfully back and forth?
    Based on your description it sounds like you have a 1 way sync issue.  Events sync fine between the iOS devices and fine from the computer to the iOS devices but not from the iOS devices to the computer.
    Try:
    Backup your computer and iOS devices before doing anything else:
    http://support.apple.com/kb/HT1427
    http://support.apple.com/kb/ht1766
    Ensure all the devices in use are fully up to date: Apple > Software Update / Settings > General > Software Update
    Make separate backups of critical data:
    Backup your computer Addressbook: http://docs.info.apple.com/article.html?path=AddressBook/4.0/en/ad961.html
    Backup your computer iCal: http://support.apple.com/kb/HT2966
    Reset syncing on your Mac: http://support.apple.com/kb/TS1627
    Reply back if that does not resolve your issue.
    Hope that helps.

  • I am using Mail 5.3 with two separate gmail addresses. One is personal the other is business. When I send emails from the business address, any auto-replies I get COME TO THE PERSONAL INBOX. I imagine that this is a setting? Please help!

    I am using Mail 5.3 with two separate gmail addresses.
    One is personal the other is business.
    When I send emails from the BUSINESS address, any auto-replies/out of office notices I get come to my PERSONAL INBOX.
    I imagine that this is a setting? Please help!

    Edit the SMTP server list. Add a new one for the business account. Put the correct password and information for it. Give it a description so you will know which server is which. Mke sure the correct server is highlighted in the account selected and check the box to use only that server for that account. Do that for the other account also.

  • HT1430 Hi cannot receive or send emails from yahoo account. Tried resetting but nothing helps. Message comes up Cannot find Server,please assist thank you!

    HI
    Hi cannot receive or send emails from yahoo account. Tried resetting but nothing helps. Message comes up Cannot find Server,please assist thank you!

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • TS3899 I can't SEND email from Telus account in Alberta, Canada? Does anyone know how to set up the Outgoing server? Help! And thanks!

    Can't SEND email from Telus account in Alberta, Canada, unless I go to web mail. Does anyone know how to set up the Outgoing server? Incoming is fine. Outgoing used to work. We changed it when we went to another location, and can't get it back. Telus support can't fix it. Neither smtp.telus.net NOR mail.telus.net works for Outgoing server to send mail. Please help! Thanks.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. Help!

    I can no longer send emails from my mac yahoo business account, but can send them directly from yahoo. just not from mac mail. I've been able to send emails perfectly fine until today. I've been on the phone with yahoo mail and they've verified that my account settings are correct and I can send email from yahoo. I can receive emails via Mac mail, but just can't send them. An error message appears that says:
    "Sending the message content to the server failed." I can't send emails from my Mac desktop, iphone or ipad. Any suggestions! Help! I'm a Mac rookie and so frustrated! Thanks.

    Please read and begin using Can receive email, but not send email. I had a similar issue with Comcast mail (could receive by not send) and found my answer in this letter. For me it took resetting the outgoing mail and telling the system to use a password when sending outgoing mail. If you need help with that please advise and I'll tell you where to look. 

  • Hi all please i want reset security questions but not send email from apple to my email

    please help me hi all please i want reset security questions but not send email from apple to my email

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • I can't send emails from iPhone until I connect to my wifi! I am with bigpond and have a bigpond email address. Can anyone help me?

    I can't send emails from iPhone until I connect to my wifi at home. I am with bigpond and have a bigpond email address. Can anyone help me?

    Try closing the Mail app completely and see if it works properly when you re-open it : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I had a power failure 2 days ago, have power now, but cannot send email from my iPad. Everything was fine before that. The box says cannot send mail, the user name or password for Gmail is incorrect. I haven't changed anything. I need help. Thanks

    Hi
    I had a power failure 2 days ago, my computer is running again, but now I cannot send email from my iPad using Cox or my gmail account. I am receiving mail in my Cox account but not my gmail account.It was working fine until the power failure. It keeps telling me, the user name or password for Gmail is incorrect. I have not changed anything. I don't know what is wrong. Can anyone help me? Thanks

    I agree, unplug and replug your router, then reset your iPad by holding down the sleep and home buttons, ignore the red power down slider, and wait til you see the silver apple. let it reboot and then try your connection.
    Chances are rebooting the router will help. You may also need to talk to cox. They may need to reset something on their end.

Maybe you are looking for

  • Attachments are not Visible in iphone

    Hi, I am using Iphone 5 and Ipad Air with IOS 7.04. I have receieved a E-mail with Microsoft Word document attached. In the Inbox View I can see a Paperclip next to the message indicating an attachment. But after opening the E-mail, I am not able to

  • Airport Extreme WEP WPA

    I'm trying to set up my PC lap top to connect to my airport extreme. It wants my WEP or WPA #. How do I find those numbers.

  • Getting free download of javax.mail package

    where can i get free download for javax.mail package Which can be used for retrieving mails/attachments

  • HU Number determination

    Hi, In my program every time I need to create idoc and I need to create handling unit number. I am calling standard idoc so inside of idoc only the function module ‘HU_PACKING_CREATE’ is there to create the handling unit number. For this I need to gi

  • How to access static resources in ear without specifing context-root

    Hello, i have a problem with my ear. The war's structure is like this: ---/jsp ---/css ---/images/ViewRisposte.gif ---/xsl/Request.xsl ---/Common/data.xsl /error.xsl /input.xsl xsl files reference css and images files that are contained in css and im