Writing An Email Server

Can anyone help at all? I'm doing a project in java and I have to write my own POP3 and SMTP Server and I can't find the code anywhere. I've found plenty of sites with code for writing email clients that communicate with existing servers but nothing on how to write my own email server. Thanks

The specs for SMTP servers are in RFC 821. You can find that here:
http://www.faqs.org/rfcs/rfc821.html
I don't know the RFC number for POP3 but you could probably find it by searching that site.

Similar Messages

  • Is the  "PHP Email Server Behaviors Pack" extension legit?

    There are two comments for the extension PHP Email Server
    Behaviors Pack V1.1.1, both of which indicate that this is not a
    legit product.
    Has anyone purchased this extension and had success with it?
    david

    The responses on the Exchange indicate that the users there
    bought it and
    got no product. You will notice it didn't have company
    approval. I would
    stay away from it, if it were me. There is an email address
    listed on the
    product page for support .. you might try writing to them and
    asking some
    questions.
    Nancy
    "elvis is dead" <[email protected]> wrote in
    message
    news:fjs2f0$pqc$[email protected]..
    > There are two comments for the extension PHP Email
    Server Behaviors Pack
    > V1.1.1, both of which indicate that this is not a legit
    product.
    >
    > Has anyone purchased this extension and had success with
    it?
    >
    > david
    >

  • 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.

  • When I am writing an email, I get an alert message that says "The message could not be copied or moved to the drafts folder. Writing to the folder failed. To ga

    When I am writing an email, I get an alert message that says “The message could not be copied or moved to the drafts folder. Writing to the folder failed. To gain disc space, choose Empty Deleted and choose Compact Folders and try again.”
    If I do that, I get a message saying “There was an error copying to the Sent folder,, retry?”
    If I retry it sends the uncompleted email. All I can do is keep deleting the message and carry on. Then the whole business might repeat itself.
    Help!
    Frank

    Because the location for each song in your library is on your hard drive.  If the hard drive isn't there, how can iTunes play it?
    You'll have to move/copy the music from your hard drive to your computer's hard drive.
    Basically, EASIEST way to do all this, if you don't care about your play counts, etc...
    -Delete EVERYTHING from iTunes, so that your library is now empty.
    -Go to "Advanced" inside of the "Preferences" window, found in the "Edit" drop-down.  You can also access Preferences by pressing Ctrl+, (Press Ctrl and the comma key)
    -Change your iTunes Media Folder Location to something simple, but on your computer. I use C:/iTunes.  Make sure "Keep iTunes Media Folder Organized" and "Copy files to...." are both checked.  You can close Preferences now.
    -Now, drag and drop your music from your hard drive into your iTunes library.  iTunes will automatically add the music to your library, as you would expect, and also creates a copy of each file to place into that iTunes Media Folder you just created.
    Shouldn't have any more problems...

  • 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.

  • Why did I lose all my iPhone contacts while I was writing an email?

    I was simply writing an email on my iPhone 3GS today and as I was entering an email address into the To: field the iPhone suddenly went back to a home page (as in if you were in an app and then pressed the home button).  This has happened before without any apparent damage so I went back to my email.  However, when I went to enter the email address (again) I noticed that this time around it wouldn't offer any suggested email addresses as I was entering the first few characters.
    Now I'm getting a bit nervous.  Just about then my wife called, but instead of seeing the screen show my wife's contact info as the phone rang, I just got the generic phone number view.
    After the call I opened my contacts and they were completely and totally missing.
    I have no idea where they are or why they went AWOL.
    I understand that I can use iTunes to restore them (I synced a couple of days ago - so I don't think I'll lose any/many) and I don't use MobileMe.
    So, my question is what happened to my contacts??  Is there a known bug that that I tripped over to cause my contacts to vanish?  I don't think I did anything odd - but is there something I could've done?
    While I can restore from iTunes I'd rather know why this happened and is there something to prevent it in the future......
    How about it gurus - can anyone help?

    Not sure why, but since contacts are designed to be synced with a supported address book app on your computer and there are a number of free email accounts that support syncing contacts over the air such as with an Apple iCloud account, Gmail, Yahoo, and Hotmail, there is no reason for contacts being lost under any circumstances even if your iPhone were lost or stolen or damaged beyond repair.

  • I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    Question
    I can no longer (since upgrading to the latest firefox) open up multiple tabs of the same page (something I need to be able to do when emailing and referencing multiple emails while writing one email). The only option it gives me is to 'switch to tab'.

    I'll try to make this clear. I USED to be able to left click on a hyper link and the hyper link would open in a NEW tab. Now for some unknown reason the hyper link by default opens in the same tab (window). I have to right click the hyper link in order for it to open in a NEW tab. (Yes, my 'tools'> 'options'> 'tabs' are set to "open new windows in a new tab." (Please no answers telling me to get rid of the Ask toolbar because I don't have one.) Thank you.

  • 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

Maybe you are looking for

  • Since i updated the wifi on iMac internet runs slow

    Bought imac 27 inch 2.7ghz with 4gb ram last week - everything was running fine - super fast - i havent done anything of note on the computer - installed photoshop, trial version of word etc etc. I updated a few things yesterday - namely the wifi upd

  • Blurred text in preview

    Hi all, I'm trying to revive a previous post. Essentially I'm having a problem with blurred text in preview, similar to this post from last year: https://discussions.apple.com/message/10895578 . Also, here's mine (https://discussions.apple.com/messag

  • BEA User Broup based portal rendering in WLP 10.3

    Hi, We are connecting to an external LDAP system to get the user group informmation for the loggged in user and these user groups are already configured in portal admin. How can I make sure for the logged in user with a valid user group, gets a porta

  • Photoshop CS6 Extension manager 6.0.4 does not install

    I am running a MacBook Pro with OSX 10.7.5 and I tried to update extensiion manager 6.0.4 and received an error message, U44M1P7, and the update would not install.  This happened twice and after the first time, I did repair disk preferences. Does any

  • Depot Sale excise duty accounting

    Dear All I am doing the stock transfer of 100 MT finished product to my depot on 29th or 30th of the month with the excise duty. In Depot, they will do the GR and started selling the product from 30th onwards (with J1iG and J1iJ utilization). If my p