Applet --- Email server ?

Hi,
On click of a button in an Applet, I need to get connected to some email server and post some message. example ([email protected]).
I have used URL and AppletContext.showDocument(url) to get connected to the server but it is not working. Any new ideas please?
Thank you,
[email protected]

First: to send email directly from an applet you need a smtp server running on the server where the applet was loaded. (Either that or then you need to sign the applet.)
When you've got that sorted out, you need to get a java smtp client from somewhere - writing one would be another possibility. There was an almost complete example at javaworld in a socket tutorial, search there (keywords: smtp +socket)
BTW: have you tried constructing a URL like "mailto:[email protected]" and appletcontext.showDocument()ing that?
That might work in some browsers, but a socket connection will work everywhere.

Similar Messages

  • Community email server is insisting that I perform a virus scan

    My community email server is insisting that I perform a virus scan before they reset my email account.  Any suggestions?I told them I have a Mac but they said they want to make sure I don't have a virus before they turn my email account back on - it was apparently hacked into and is sending spam...

    Here's a quote from Thomas' Macinstosh Malware Catalog to save you some time:
    Appeared October 2010 / Description modified October 17, 2012
    Koobface - a malicious Java applet commonly found on social networking sites like Facebook and Twitter - has been around in the Windows world since 2009. Unfortunately, as of October 2010, it has also made its entry into the Mac world. It appears in the browser as a request to view a video, often with the question "Is this you in this video?" Initial reports from Intego indicated that this malware was too buggy to work, but subsequent reports from other security companies reveal that fully functional versions are being encountered in the wild. Worse, this trojan does not require an admin password to install. Although you do have to click the Allow button in an alert that tells you the applet is trying to access your computer, users who are not tech-savvy may assume that it's okay to do so. I highly recommend that you turn off Java (not JavaScript, which is different) if you are afraid you might agree to something you shouldn't.
    Update: Downgrading threat to "none" due to lack of Koobface sightings in quite some time.
    I'd be curious to know how long these have been on your computer if you can check the dates on those files before you delete them.

  • EEM mail with email server using SMTP callback feature

    I am having troubles utilizing the email function.  Our email server has the SMTP callback feature enabled so the applet fails.  Is there a way to respond to this callback using EEM?
    My config
    ip host mail.domain.com 172.16.164.140 172.16.164.139
    event manager environment _mail_smtp mail.domain.com
    event manager environment _mail_domain domain.com
    event manager environment _mail_rcpt [email protected]
    event manager environment _mail_from [email protected]
    The Applet
    event manager applet TEST
    event syslog pattern "%BGP-5-ADJCHANGE: neighbor 10.2.0.1 Down BGP Notification sent"
    action 1.0 info type routername action
    2.0 mail server "$_mail_smtp" to "$_mail_rcpt" from "$_mail_from" subject "$_event_pub_time: T2 down" body "$_syslog_msg" action
    3.0 syslog priority notifications msg "T2 down email send"
    Debug  and log from the test
    May 21 13:33:22.275 CDT: %BGP-5-ADJCHANGE: neighbor 10.2.0.1 Down BGP Notification sent May 21 13:33:22.275 CDT: %BGP-3-NOTIFICATION: sent to neighbor 10.2.0.1 4/0 (hold time expired) 0 bytes
    May 21 13:33:22.287 CDT: %BGP_SESSION-5-ADJCHANGE: neighbor 10.2.0.1 IPv4 Unicast topology base removed from session  BGP Notification sent
    May 21 13:33:22.299 CDT: %HA_EM-5-LOG: MONITOR_TUNNEL_2: BGP Neighbor has gone down on tunnel 2.  Setting track 2 to a down state!!! May 21 13:33:22.307 CDT: %HA_EM-6-LOG: TEST : DEBUG(smtp_lib) : smtp_connect_attempt: 1
    May 21 13:33:52.307 CDT: %HA_EM-6-LOG: TEST : DEBUG(smtp_lib) : smtp_connect connect fail 260
    May 21 13:33:52.307 CDT: %HA_EM-6-LOG: TEST : DEBUG(smtp_lib) : fh_smtp_connect callback timer is awake
    May 21 13:33:52.307 CDT: %HA_EM-3-FMPD_SMTP: Error occurred when sending mail to SMTP server: mail.edwardjones.com : timeout error

    I should explain a bit more about our setup.
    We are utilizing a DMVPN between our remote cisco 2800 router.  This SMTP traffic is riding the tunnel encapsulated within the GRE and Crypto.  We also utilize a zone based firewall  and IPS on the router.  To get to the port 25 of our sever this traffic would have to ride the public internet and not be protected via the VPN.  I am not prepared to follow that method based on security concerns.  So currently we do not allow telnet over the public network and I am confident our main network firewall would block telnet access from outside of our private network.
    So basically I am trying to do this over a private/protected infrastructure.  Perhaps I am using the wrong method?

  • TS3276 I cannot connect to my outgoing email server on my macBook pro, yet I can, for the same email account on my iPad. Also I can send emails from the other email account I have on my MacBook...really confused can anyone help?

    I cannot connect to my outgoing email server on my macBook pro, yet I can, for the same email account on my iPad. Also I can send emails from the other email account I have on my MacBook...really confused can anyone help?

    Sometimes deleting the account and then re-creating it can solve this issue
    Write down all the information in accounts before doing this
    Highlight the account on the left and click the minus button
    Then click the plus button to add the new account and follow the prompts

  • How to set up SAPconnect with email server

    Hi,
    Does any one know <b>how to set up SAPconnect with email server</b>
    We are using workflow and when it fails it we are sending the notification mail to the user on his company mail id, i.e. [email protected]
    This is working in the current production system. We are doing the new development which will replace the current production system. The existing Basis team does not know how it was setup in production system and how to set it up in the new system.
    When we send any mail notification from workflow we can see the mail in SCOT transaction but it is not received at the specified mail address.
    Can any one provide the configuration steps or any document for this.
    Thanks in advance..
    Pratik

    Hi Pratik,
    Check the following link:-
    /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
    these link will help u to config SMTP.
    And one more thing u have to do..
    Go to SE11 n open Table sxnodes in change mode.
    And change F_ESMTP field to false i.e. BLANK for the Field NODE = SMTP.
    Hope this will work For U.
    Regards
    Sachin Dhingra

  • I have an iPhone and use Roadrunner as my email server. When I open RR it gives me 4 choices, inbox, drafts, sent and trash.  I would like to add saved, how can I do this.  I contacted RR and they said it is an Apple problem to solve.

    I have an iPhone and use Roadrunner as my email server. When I open RR it gives me 4 choices, inbox, drafts, sent and trash.  I would like to add saved, how can I do this.  I contacted RR and they said it is an Apple problem to solve.

    Roadrunner is POP email, and the feature you are looking for
    is a function of IMAP email. Roadrunner has not announced
    any plans to make IMAP available. If this is important to you,
    get a gmail account (which can be setup as IMAP)  and configure
    your Roadrunner account to automatically forward emails to the
    gmail account.

  • Using nsMail email server, works fine in ns email tool, as of yesterday TBird 31.3.0 can not send or receive email. Have verified all setting for IMAP/SMTP OK.

    Will not retrieve incoming emails. When I try to send one, error message appears: "Sending of message failed.
    The message could not be sent using SMTP server smtp.ullisart.com for an unknown reason. Please verify that your SMTP server settings are correct and try again, or contact your network administrator." I have checked all IMAP/SMTP settings and they are fine. I can receive and send emails to the same address via the email server provider's email tool. Using nsMail, WIndows8, Firefox, latest version of TBird. All worked fine two days OK and have made no known changes to computer installation since.

    ExchangeITPro,
    Thank you for your reply.
    >what SP are you at?
    As noted in the first paragraph: "We have an Exchange 2010 server, running under Windows 2008R2. Both
    the server and Exchange are current for Windows and Exchange updates. Exchange is on SP3 installed about a month ago with no errors reported in the event logs."
    >try restarting the transport services.
    Done previously as well as the entire server. No change.

  • I've recently changed my password on my e-mail account and now I can't share i photos instead I get a message The email server didn't recognize your username/password combination. How do I change it in i photo pls

    I've recently changed my password on my e-mail account and now I can't share i photos instead I get a message The email server didn’t recognize your username/password combination. How do I change it in i photo pls

    I'm trying to email from iPhoto

  • Spam Email Server Account Hijacked

    Hello everyone,
    I've been having a lot of trouble with one particular email server. I've posted a couple of questions but nobody has answered me so I went and re-installed the whole server by changing it's static IP and adding an Airport Extreme in between so that the server only does DNS, Open Directory, File Sharing and Email.
    Everything it's been going well until one user started receiving email notifications about mail returned messages.
    I've tried several things:
    - Removed the non SSL website so I only left the Webmail on 443
    - Changed to more secure passwords
    - Lock the account after 10 bad passwords (the user gets blocked every couple of hours)
    - Deactivate the POP protocol as nobody is using it, we are only using
    - Tried blocking some Russian IPs because I noticed that all the emails are Reply To the domain ngs.ru but from the logs it looks like it's going through locally.
    My user has only Macs and iOS products so even though it's a mixed environment I don't think there could be a Malware doing this.
    I don't know what else can I do, I really want to avoid the server getting blacklisted and I've been looking for help so I would really appreciate if someone can provide me some guidance.
    Here's the postconf -n:
    server:~ administrator$ sudo postconf -n
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    enable_server_options = yes
    header_checks = pcre:/etc/postfix/custom_header_checks
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mail_owner = _postfix
    mailbox_size_limit = 0
    mailbox_transport = dovecot
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maps_rbl_domains =
    message_size_limit = 0
    mydestination = $myhostname, localhost.$mydomain, localhost, ecogenia.ca, server.ecogenia.ca, localhost.localdomain, $mydomain
    mydomain = ecogenia.ca
    mydomain_fallback = localhost
    mynetworks = 127.0.0.0/8,192.168.1.0/24,207.115.108.190
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpd_client_restrictions = hash:/etc/postfix/smtpdreject cidr:/etc/postfix/smtpdreject.cidr permit_mynetworks permit_sasl_authenticated reject_rbl_client zen.spamhaus.org permit
    smtpd_enforce_tls = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_sasl_authenticated permit_mynetworks reject_invalid_helo_hostname reject_non_fqdn_helo_hostname
    smtpd_pw_server_security_options = cram-md5,gssapi,login,plain
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks  reject_unauth_destination check_policy_service unix:private/policy permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_CAfile = /etc/certificates/server.ecogenia.ca.B9BEBCFA9A643188A6A20932B602BC15FBEB0C4F.c hain.pem
    smtpd_tls_cert_file = /etc/certificates/server.ecogenia.ca.B9BEBCFA9A643188A6A20932B602BC15FBEB0C4F.c ert.pem
    smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
    smtpd_tls_key_file = /etc/certificates/server.ecogenia.ca.B9BEBCFA9A643188A6A20932B602BC15FBEB0C4F.k ey.pem
    smtpd_use_pw_server = yes
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 550
    virtual_alias_domains = $virtual_alias_maps hash:/etc/postfix/virtual_domains
    virtual_alias_maps = hash:/etc/postfix/virtual_users
    These are some of the logs I've been seeing:
    Dec  4 04:06:51 server postfix/smtpd[19291]: NOQUEUE: reject: RCPT from unknown[95.65.176.14]: 554 5.7.1 Service unavailable; Client host [95.65.176.14] blocked using zen.spamhaus.org; http://www.spamhaus.org/query/bl?ip=95.65.176.14; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[95.65.176.14]>
    Dec  4 04:08:54 server postfix/smtp[19353]: 7897321698B: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=21, delays=10/0/0/10, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=17722-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as F0C1121699B)
    Dec  4 05:08:14 server postfix/smtp[21213]: 43A6E216C47: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=17, delays=11/0.02/0/5.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=17722-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A6914216C55)
    Dec  4 05:16:28 server postfix/smtp[21479]: 6A7D8216CB8: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=17, delays=11/0.02/0.01/5.6, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=17723-04, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as B435E216CC4)
    Here is an example of the emails returned that the user has never sent:
    From: "Mail Delivery System" <[email protected]>
    Subject: Undelivered Mail Returned to Sender
    Date: 3 December, 2012 1:08:42 PM EST
    To: [email protected]
    Nous sommes desoles de vous informer que votre message n a pas
    pu etre remis a un ou plusieurs de ses destinataires.
    Ceci est un message automatique genere par le serveur mwinf5d38.orange.fr.
    Merci de ne pas y repondre. This is the mail system at host mwinf5d38.orange.fr.
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients.                  The mail system <[email protected]>: host mail.ru[94.100.176.20] said: 550
    spam message discarded. Please visit http://mail.ru/notspam/abuse?c=dK3Cqtwc2M_u_NHfPpZdr5kaLTUE1R6jDAAAAPoyAAATz4o6 or report details to [email protected]. Error code: AAC2AD74CFD81CDCDFD1FCEEAF5D963E352D1A99A31ED504. ID: 0000000C000032FA3A8ACF13.  
    From: Вера Краснова <[email protected]>
    Subject: Кредит под конец года каждому, успевайте оставить заявку на кредит в декабре.
    Date: 3 December, 2012 12:59:23 PM EST
    To: Дина <[email protected]>
    Reply-To: Вера Краснова <[email protected]>
    Доброе время суток, в четвертом квартале 2012 года Вы проявляли интерес к нашим кредитным программам, сообщаем Вам, что Ваша заявка получила одобрение от службы безопасности нескольких банков и мы просим заполнить заявку на кредит на сайтеhttp://renessanscapital.ru/ 
    С уважением, Вера Краснова
    т. +7 (913) 574-24-76
    skype: credit.skype
    ICQ: 6573118
    Внимание! Для того, чтобы отписаться от рассылки нужно один раз отправить заявку на получение кредита на странице http://renessanscapital.ru/ после чего на Ваш e-mail больше не будут отправляться письма.
    I'll really appreciate anyone's help.

    I've been getting a lot of bounce backs from the same SMTP server as you to our email domain as well.
    The offending server mwinf5d55.orange.fr is sending "backscatter" spam which should be simply dropped by them instead of bouncing back to the "FROM" address.
    Because of this problem of bounced emails, I've tweaked our SPF (Sender Policy Framework) DNS TXT entry for our email domain to help receiving mailservers know what our legitimate OUTBOUND smtp mail servers actually are.  This should allow correctly configured email servers to drop any email from mwinf5d55.orange.fr because it is not a valid source of email for our domain.
    (See http://www.openspf.org/SPF_Record_Syntax for some syntax)
    Some details that I've dug up:
    The SMTP server at orange.fr is accepting mail based on forged FROM: addresses which bounce back to you by the receiving target TO: address mailservers. 
    Eg. From your email bounce back message:  host mail.ru[94.100.176.20] said: 550 spam message discarded.
    I'm not sure if the spammer is using the mwinf5d55.orange.fr smtp server as an open relay or if it's using someone else's smtp username and password to send mail.
    If you look at the email headers of the original bounced (spam) email that caused the backscatter it shows for example (from one of our bounces that I've received):
    Received: from Unknown ([92.46.248.56])
    by mwinf5d55 with ME
    id 7XfA1l00l1Dkwus03XfJsw; Mon, 04 Mar 2013 20:39:43 +0100
    X-ME-IP: 92.46.248.56
    X-ME-Entity: ofr
    When you look up the IP address source of that email it shows that it is coming from "JSC Kazakhtelecom, West Kazakhstan Affiliate".
    http://en.utrace.de/whois/92.46.248.56
    If you lookup the original source email and find that it's from your original user's computer then you have a problem.  If it's from a compromised machine overseas that's sending forged spam on your user's behalf, then there's not too much you can do about it short of publishing a correct SPF record.
    Hope that helps.

  • I get an error message when trying to email photos. It says "The email server didn't recognize your username/password combination." Yet I have reset my password and was able to log in to this Support Community. Can anybody help me?

    I get an error message when trying to email photos. It says "The email server didn't recognize your username/password combination." Yet I have reset my password and was able to log in to this Support Community. Can anybody help me?

    See my answer to your previous duplicate question. What happened when you tried my answers?
    LN

  • Is there a way to import contacts from an email server to an iphone?

    Is there a way to import contacts from an email server to an iphone?

    not that I'm aware of. 

  • How do I set up a POP3 server to open with Firefox 3.6.13 so that it's not using windows live but the POP3 email server?

    When i browse websites with Mozilla Firefox 3.6.13 and click on a link to send email to someone, Mozilla opens windows live instead of my POP3 server. How do I tell Mozilla to open the right email server to start a new thread?

    See this: <br />
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • Can't get Email client to work with Network Solutions Email server

    This is a new Email account started after I installed Snow Leopard. The Email server is Network Solutions. I have tried all afternoon and evening trying to set up just one account / mailbox on the Mac and I still haven't gotten it to work. I have been over the settings multiple times with Network Solutions and they tell me all the settings are correct, but still no joy. When I try to 'Get Mail' it simply spins its wheels for a minute or so then displays a (!); i.e. it times out and stops trying. I don't know if it is something about Network Solution's servers that is causing the problem or if it something wrong on my end (most likely). Any idea what I can try? Is there a log someplace that will tell me exactly what part of the process is failing?

    Problem solved. For some reason the POP client had 'SSL' turned on. Guess I set it by accident during one of my many tries. All is well now.

  • I changed email servers but mail is attempting to be sent from deleted email server

    We have a new email server so I deleted the email account associated with the old server and then added a new server.  When I try to send an email, it is finding the old SMTP server and attempts to send using that (which of course fails since I no longer have an account there.  I can't find any vestage or reference to my old email server anywhere on my iPhone but it is still finding it.  Help, please?

    Hi Nick,
    From your description, I would like to clarify the following thing:
    A user with Full Access permission can’t send email from the shared mailbox unless they also have Send As or Send on Behalf permission. Please grant your IT mailbox send as permission or send on behalf permission to check the result.
    For your reference:
    Shared mailboxes in Exchange Online
    https://technet.microsoft.com/en-us/library/jj966275%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396
    Hope this can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • When I try to email pictures from i photos, I get this: email server didn't recognize your username/password combo. How do I fix this?

    When trying to email pictures from i photo, a message comes up that "email server didn't recognize your username/password combo" I'm not that savy, does anyone know how to fix this?? I did change my Apple password, but that shouldn't effect it should it??
    thanks!!

    I get the same message.

Maybe you are looking for

  • I need to backup all the music on my nano - my library is a mess with all my kids music

    I am sending in my 1st generation ipod nano for battery replacement. I need to back up all the music on my nano. My library is a huge mess with all of my kids music.  How do I just get everything on my nano in a playlist without getting mixed in the

  • Macbook doesn't get past boot screen.

    My friend gave me her MacBook Air to look at. I turn it on and there is an Apple logo, a wheel spinning and and progress bar. The progress bar gets to about 25% and then it turns off. I've now gone into the utility tool using the command key on start

  • Desperate for color advice!!! I am a working pro.

    Hi everyone,           My name is Andrew and I am new to the forum, but I am hoping I can find a really wise person to get me straight again. I am going to start with a question:       " Is it possible for a jpeg file to be render with added saturati

  • FX5900-VTD128 hates white-backgrounds!!!

    Greetings- I have an MSI FX5900-VTD128(602-8929-020) VGA card which really doesn’t like white backgrounds!!! I mean whenever I open an app. that has a white background, like winXP’s ‘My Computer’, the common ‘File Save as…’ dialog box or even in a ga

  • Distorted mechanism fails to work properly.

    Distorted mechanism fails to work properly. https://www.reddit.com/3ba51e/ https://www.reddit.com/3ba6a6/ https://www.reddit.com/3ba70z/ https://www.reddit.com/3ba5j1/