Smtp and pop3 protocol

hi everybody,
i want to develop my own implementation of pop3 and smtp protocols in java(i.e without using java mail api).
can anybody tell me how to contact other smtp server through my program.
bye

For communications, use Sockets.
For what to send over them, see the following:
SMTP - RFC 821: ftp://ftp.isi.edu/in-notes/std/std10.txt
POP3 - RFC 1939: ftp://ftp.isi.edu/in-notes/std/std53.txt
...it's all in there.
HTH,
Fredrik

Similar Messages

  • RE: (forte-users) Forte SMTP and POP3 Support

    Scaffolds includes in a protocol library an smtphandler which allows us to
    send emails. It works great! You can try contacting someone at Metamor to
    see if they can give you more information on this. I can't give you any
    code as it is part of their package. Sorry!
    -----Original Message-----
    From: Rottier, Pascal [mailto:Rottier.Pascalpmintl.ch]
    Sent: Wednesday, February 23, 2000 7:22 AM
    To: 'edwardsmjwillis.com'; kamranaminyahoo.com
    Subject: RE: (forte-users) Forte SMTP and POP3
    Support
    Mark,
    Unfortunately, Forte doesn't offer any ready-to-use internet
    protocoll
    support libraries (like FTP, Telnet, SMTP, POP3, NNTP,
    UU-code
    or MIME). I think this would be a valuable enhancement of
    Forte.
    Does any one know if SUN plans to include this into Forte?
    Does
    any one know if there is any third-party set of Tool-classes
    that
    supports this?
    Pascal
    > -----Original Message-----
    > From: edwardsmjwillis.com [SMTP:edwardsmjwillis.com]
    > Sent: Wednesday, February 23, 2000 3:36 PM
    > To: kamranaminyahoo.com
    > Subject: (forte-users) Forte SMTP and POP3 Support
    >
    >
    >
    > Hi,
    >
    > Our Forte development team are currently investigating how
    we can add
    > internet
    > mail capabilities to a Forte application. Our application
    needs to
    > send/receive
    > mails from a mail server in an NT environment. Does forte
    provide SMTP and
    > POP3
    > protocol support (libraries) so that we can use external
    connection class
    > to
    > connect to the server and send/ receive mails or do we
    have to use third
    > party
    > controls ?.
    >
    > Any help regarding code examples or third party solutions
    would be
    > appreciated.
    >
    > Thanks in advance
    >
    > Mark J Edwards
    > Senior Technical Specialist
    > Willis
    >
    > Email: edwardsmjwillis.com
    >
    >
    >
    >
    >
    > The information in this email and in any attachments is
    confidential and
    > may be
    > privileged. If you are not the intended recipient, please
    destroy this
    > message,
    > delete any copies held on your systems and notify the
    sender immediately.
    > You
    > should not retain, copy or use this email for any purpose,
    nor disclose
    > all or
    > any part of its content to any other person.
    >
    >
    > --
    > For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    > the login: forte and the password: archive. To
    unsubscribe, send in a new
    > email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com
    For the archives, go to:
    http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe,
    send in a new
    email the word: 'Unsubscribe' to:
    forte-users-requestlists.xpedior.com

    Hi,
    Unfortunatly, Forte does not provide SMTP and POP3 protocoles.
    But, you can use External connections to do it if you need.
    You can find a simple SMTP send mail sample code on
    http://perso.club-internet.fr/dnguyen/ . The receive should be as easy as the send.
    For MIME base 64 encoding and decoding, it should last one or two weeks of coding
    (if you need optimization).
    One advantage of coding this in Tool directly is the portability.
    In your case, on NT, you could also interface with MAPI using for instance the
    ActiveX interface.
    By that way, you will already have SMTP, POP3 and MIME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    edwardsmjwillis.com a écrit:
    Hi,
    Our Forte development team are currently investigating how we can add internet
    mail capabilities to a Forte application. Our application needs to send/receive
    mails from a mail server in an NT environment. Does forte provide SMTP and POP3
    protocol support (libraries) so that we can use external connection class to
    connect to the server and send/ receive mails or do we have to use third party
    controls ?.
    Any help regarding code examples or third party solutions would be appreciated.
    Thanks in advance
    Mark J Edwards
    Senior Technical Specialist
    Willis
    Email: edwardsmjwillis.com
    The information in this email and in any attachments is confidential and may be
    privileged. If you are not the intended recipient, please destroy this message,
    delete any copies held on your systems and notify the sender immediately. You
    should not retain, copy or use this email for any purpose, nor disclose all or
    any part of its content to any other person.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Forte SMTP and POP3 Support

    Hi,
    Our Forte development team are currently investigating how we can add internet
    mail capabilities to a Forte application. Our application needs to send/receive
    mails from a mail server in an NT environment. Does forte provide SMTP and POP3
    protocol support (libraries) so that we can use external connection class to
    connect to the server and send/ receive mails or do we have to use third party
    controls ?.
    Any help regarding code examples or third party solutions would be appreciated.
    Thanks in advance
    Mark J Edwards
    Senior Technical Specialist
    Willis
    Email: edwardsmjwillis.com
    The information in this email and in any attachments is confidential and may be
    privileged. If you are not the intended recipient, please destroy this message,
    delete any copies held on your systems and notify the sender immediately. You
    should not retain, copy or use this email for any purpose, nor disclose all or
    any part of its content to any other person.

    Hi,
    Unfortunatly, Forte does not provide SMTP and POP3 protocoles.
    But, you can use External connections to do it if you need.
    You can find a simple SMTP send mail sample code on
    http://perso.club-internet.fr/dnguyen/ . The receive should be as easy as the send.
    For MIME base 64 encoding and decoding, it should last one or two weeks of coding
    (if you need optimization).
    One advantage of coding this in Tool directly is the portability.
    In your case, on NT, you could also interface with MAPI using for instance the
    ActiveX interface.
    By that way, you will already have SMTP, POP3 and MIME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    edwardsmjwillis.com a écrit:
    Hi,
    Our Forte development team are currently investigating how we can add internet
    mail capabilities to a Forte application. Our application needs to send/receive
    mails from a mail server in an NT environment. Does forte provide SMTP and POP3
    protocol support (libraries) so that we can use external connection class to
    connect to the server and send/ receive mails or do we have to use third party
    controls ?.
    Any help regarding code examples or third party solutions would be appreciated.
    Thanks in advance
    Mark J Edwards
    Senior Technical Specialist
    Willis
    Email: edwardsmjwillis.com
    The information in this email and in any attachments is confidential and may be
    privileged. If you are not the intended recipient, please destroy this message,
    delete any copies held on your systems and notify the sender immediately. You
    should not retain, copy or use this email for any purpose, nor disclose all or
    any part of its content to any other person.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Problem with access to SMTP, IMAP, POP3 protocols in CAS 2013.

    Hi,
    we have problem with access thgrough SMTP, IMAP, POP3 protocols in CAS 2013.
    If I test connection to SMTP 25 port from other computer, session end quickly.
    Test from CAS2013 to localhost or public IP is OK (similar also for IMAP and POP3).
    Receive connectors are with defaults settings, firewall is disabled.
    Service Microsoft Frontend Transport Services restarted, but no success.
    Certificate is assigned to IMAP, POP3, SMTP, IIS.
    IIS and HTTP(s), protocols are OK. Clients can connects only thgrough web, mobile (ActiveSync), or with Outlook with proxy.
    Do you have some tip, what to test?
    If I create new testing receive connector on port 26 for anonymous, behaviour is same, quick disconnecting.
    Thank's Mirek

    Hi,
    Pleaser try to use the following link to test your STMP/POP/IMAP e-mail, and check the test if successful:
    https://testconnectivity.microsoft.com/
    If unsuccessful, please check the test result, it will tell us what caused the problem.
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Smtp and pop3 host and port name of gmail server?????

    can any body give me smtp and pop3 host and port name of gmail server?????to send a mail......

    Just do a new initial context and lookup the datasource, in case you need other info like host name and port you can use MBEans like:
              InitialContext ctx = null;
                   // fetch managed server name by accessing the
                   // RuntimeServerMBean using the
                   // MBeanServer interface
                   ctx = new InitialContext();
                   MBeanServer server = (MBeanServer) ctx
                             .lookup("java:comp/env/jmx/runtime");
                   ObjectName service = new ObjectName(
                             "com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
                   managedServerName = (String) server.getAttribute(service,
                             "ServerName");

  • To set path of SMTP and POP3

    hello sir
    i m old to java but new to java mail.........
    i m intrested in making a mail application and in several tutorials i have read that we have to set SMTP and POP server.........but i can only work on my machine and does not know my SMTP and POP3 server name .so what shoud i do.........
    i m desperete to make this mail application.........
    plz help me out.....................plz please
    thank you
    gaurav

    Hello,
    Crystal reports is for a long time not anymore supported by Microsoft. 
    Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
    Try direct the SAP community for Crystal reports for .Net
    http://scn.sap.com/community/crystal-reports
    Success
    Cor

  • SMTP and POP3 connector for ORACLE8i

    I've heard that there is a SMTP and POP3 connector build in into
    the ORACLE8i Release ?
    I saw this on a technical demonstraion ...
    Now i look for the documentation and configuration hints.
    Where to look - or isn't it yet available ?
    Thanks in advance
    JACK
    null

    Properties.put("mail.smtp.host","www.hotmail.com");
    ... is correct, but if you are permitted to make a connection I'd be surprised. Well, no you can't, the buggers won't let you. You need to use Pop3 + yahoo and be a registered user, eg;-
    Store.connect("pop.mail.yahoo.com", -1, "yourIDname", "yourPassword");

  • SMTP and POP3 mail unavailable

    Hi,
    I have installed and configured eMail application on collaboration suite. SMTP (in and out) and POP3 are started.
    When I try to connect from Outlook, it finds SMTP and POP3 server but cannot login to send/retrive emails.
    Also when I try to send mail from WebMail, the application returns the error:
    An error occurred while sending the message
    Server returned: Could not connect to SMTP host: OraServer, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect
    Please help me to solve this issue.

    For communications, use Sockets.
    For what to send over them, see the following:
    SMTP - RFC 821: ftp://ftp.isi.edu/in-notes/std/std10.txt
    POP3 - RFC 1939: ftp://ftp.isi.edu/in-notes/std/std53.txt
    ...it's all in there.
    HTH,
    Fredrik

  • Need smtp and pop3 host for hotmail

    do you know what is adress for hotmail outgoing server
    like smtp.mail.yahoo.com for yahoo

    Properties.put("mail.smtp.host","www.hotmail.com");
    ... is correct, but if you are permitted to make a connection I'd be surprised. Well, no you can't, the buggers won't let you. You need to use Pop3 + yahoo and be a registered user, eg;-
    Store.connect("pop.mail.yahoo.com", -1, "yourIDname", "yourPassword");

  • Email password smtp and pop3 server problem

    My mail is continually asking me to enter password for my hotmail account, both for the pop3.live.com and smtp.live.com. It gives me an option to either enter my password or cancel, and neither option works. It is rejecting the password and my email won't work because of this! Is there a w way I can re set the password or anything?

    For communications, use Sockets.
    For what to send over them, see the following:
    SMTP - RFC 821: ftp://ftp.isi.edu/in-notes/std/std10.txt
    POP3 - RFC 1939: ftp://ftp.isi.edu/in-notes/std/std53.txt
    ...it's all in there.
    HTH,
    Fredrik

  • Secure SMPT and POP3

    How can I setup a secure SMTP and POP3 connection using the Java mail API?

    An article on setting up JavaMail to use SSL secured and POP3 connections:
    http://www.javaworld.com/javatips/jw-javatip115.html
    I guess you should be able to adapt it for SMTP.

  • What is difference between transport protocol and message protocol

    what is difference between transport protocol and message protocol
    please give definition and small explanation

    Hi,
    Transport protocol gives information about outside of message details, kind of system, security details.
    A transport protocol is a network protocol that has the capability of transferring some payload from one node to another, thus providing some level of transparency from the underlying network.
    Transport protocols are used as a mechanism to move payloads around a network. Typically, a payload will have a transport binding associated with it. For example, SOAP (acting as a payload) has a predetermined binding for HTTP (a transport protocol).
    Some common transport protocols include: HTTP, HTTP-R, SMTP and BEEP.
    Message protocol gives you an idea of message type XI payload
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm

  • Http and ftp protocol extremely slow (pop working well though)

    Hello. Starting today, on one of my macs, http and ftp protocol are extremely slow (page load 90 sec. instead of 2) (pop working well though). Provider finds nothing, on second mac all is fine (same cable, same settings … ). Cable connection, checked both sockets, changed cable, no change. Since pop3 protocol seems to work fine, this does look like a software problem to me. (Repaired permissions, no other tests or means. All used software up to date (OSX10.6.8 etc.))
    I'd be thankful for any idea.

    Not at all. Then I turned on NetBarrier, for testing and to avoid any damage (piece of software I don't employ in vain), and all slowed down again, but not quite as badly as before. Restarted, and now it seems back to normal with all extensions loaded. (I had done that before, obviously, and with no outcome, so it can't very well have been just that. But what?)
    I'll watch and learn, and report back; unless you have any further suggestions for the moment. Either way, thankyou very much so far.

  • Sharing network via Airport, can browse but no mail, smtp or pop3

    I have the G5 connected via ethernet to the router box they gave me, fine mail and browsing are super duper, So now I have the Laptop G4 (Both on 10.4.7)
    On the G5 I crated a network and enabled internet sharing in system prefs using Airport (No airport base stations, just the computer to computer) On the G4 I joined the network, and could not get to any web sites, Ahhh Little Snitch! So I turned off little snitch on the G5 and low and behold the G4 now has splendid access with safari, I am actually on the G4 penning this. But I want to use only the G4 to send and receive mails (The G4 is with me all the time, and the mails get so far out of sync) But the .mac and my 4 pop3 mail boxes all time out. Is it possible to access mail through the shared connection? Thanks Jed

    I don't know if you have solved your problem but I think I can help you. I will keep it simple because you seem to know what is plotting.
    1. On your G4 laptop, open your system prefs and go to 'Sharing',
    2. Now, click on the 'Firewall' tab. To your right, click on the button labeled 'New'.
    3. On the sheet displayed, the first dropdown list is pre-sellected as 'CVS', sellect it end change it to 'Other'.
    3.1. Now your fields will activate for input. In the field labeled 'TCP Port Number', type '110' (this is the default port number for POP and POP3).
    3.2. In the last field labeled 'Description', type your own descroption like 'POP3 port for G4' (just an idea). Save your settings by pressing the 'OK' button.
    You should now be ready to retrieve your messages using your chosen mail app.
    Follow the same instructions as above to open a SMTP port, but this time type '25' in the field labeled 'TCP Port Number'.
    Give it a meaningfull name like 'SMTP port for G4' (yet another idea). And that is it!
    Hope it was helpfull. Kind regards.
    17" iMac   Mac OS X (10.4.7)  
    17" iMac   Mac OS X (10.4.7)  
    17" iMac   Mac OS X (10.4.7)  

  • Difference Between Transport and message protocols in XI

    Hi,
        Can u please explain with some example , Difference Between Transport and message protocols in XI.
    thanks
    dhanush

    Hi dhanush,
    This two can have different attributes which were assigned in the adapter metadata. Please see this help for some info on this:
    http://help.sap.com/saphelp_nw04/helpdata/en/79/e462405c910272e10000000a155106/content.htm
    Go to SAP BASIS 6.40 or 7.00 software compoenent and open namespace http://sap.com/xi/XI/System. Go to Adapter objects and open Adapter metadata. Then open any adapter. Here you can see all the properties of your adapter which support.
    Transport protocol gives information about outside of message details, kind of system, security details.
    A transport protocol is a network protocol that has the capability of transferring some payload from one node to another, thus providing some level of transparency from the underlying network.
    Transport protocols are used as a mechanism to move payloads around a network. Typically, a payload will have a transport binding associated with it. For example, SOAP (acting as a payload) has a predetermined binding for HTTP (a transport protocol).
    Some common transport protocols include: HTTP, HTTP-R, SMTP and BEEP.
    Message protocol gives you an idea of message type XI payload
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm
    Regards
    Biplab
    <b><i>
    note:reward with points if helpful</i></b>

Maybe you are looking for

  • Maximum size of a compiled JSP page

    Has anybody else come accross a problem with weblogic not displaying .jsp pages greater than           

  • Add code snippets iBooks author

    How can I add code snippets to an iBooks author project? Is there a way to format a piece of text so that it would recognize Objective-C language? Or is there a way to insert a code snippet in some sort of box that will make it stand out from the res

  • Unable to change screen brightness

    I have an X100E and sometimes when it comes out of sleep I am unable to change the screen brightness. Pressing Fn-Del or Fn-Home just brings up the on-screen brightness indicator but it doesn't change. The only way I've found to be able to change bri

  • What does the UPGRADE for After Effects include?

    i used my trail up and i surely dont have 1000 to buy the full verison of the after effect cs6 but it says i can upgrade for 175 to the cs 5.5 what does that mean and if i buy the upgrade does it mean i dont have to pay anything else towards this pro

  • Using color theme once downloaded

    Hello, New to Kuler and Flex2. Once you download a Kuler theme how do you access it within Flex? Thank you, Roger