JavaMail & Exchange Server


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: JavaMail & Exchange Server

  1. #1
    Saiful Guest

    JavaMail & Exchange Server


    Hi All

    I want to send an email programmatically (not thru any email client software).
    I use JavaMail API to achieve this.

    I am able to now compile as well as execute a JavaMail program. Problem now
    is that my company is using exchange server as the backend mail server.

    So if I want to send email, it ties closely to my NT account. Besides that
    I am not sure if Exchange server uses the SMTP protocol to send email. I
    believe it does. However, I am wondering if any of you outta have managed
    successfully send email thru a exchange server. Can you provide me a hand
    here?

    rgds,
    Saiful

  2. #2
    Paul Clapham Guest

    Re: JavaMail & Exchange Server

    Yes, Exchange does use the SMTP protocol. However, in my experiments with
    JavaMail I have only been able to send mail to other users on the same
    Exchange server, not to anywhere outside the domain. This may be fixable by
    reconfiguring the server, but I haven't looked into that yet. Judging by
    the questions on Sun's JavaMail forum, many other people are having the same
    difficulty.

    PC2

    Saiful <md-saifulamri_omar@hp.com> wrote in message
    news:39dd9e4f@news.devx.com...
    >
    > Hi All
    >
    > I want to send an email programmatically (not thru any email client

    software).
    > I use JavaMail API to achieve this.
    >
    > I am able to now compile as well as execute a JavaMail program. Problem

    now
    > is that my company is using exchange server as the backend mail server.
    >
    > So if I want to send email, it ties closely to my NT account. Besides that
    > I am not sure if Exchange server uses the SMTP protocol to send email. I
    > believe it does. However, I am wondering if any of you outta have managed
    > successfully send email thru a exchange server. Can you provide me a hand
    > here?
    >
    > rgds,
    > Saiful




  3. #3
    Saiful Guest

    Re: JavaMail & Exchange Server


    So in this case, I just have to specify my exchange email server in place
    of the SMTP host right?

    rgds,
    Saiful


    "Paul Clapham" <pclapham@core-mark.com> wrote:
    >Yes, Exchange does use the SMTP protocol. However, in my experiments with
    >JavaMail I have only been able to send mail to other users on the same
    >Exchange server, not to anywhere outside the domain. This may be fixable

    by
    >reconfiguring the server, but I haven't looked into that yet. Judging by
    >the questions on Sun's JavaMail forum, many other people are having the

    same
    >difficulty.
    >
    >PC2
    >
    >Saiful <md-saifulamri_omar@hp.com> wrote in message
    >news:39dd9e4f@news.devx.com...
    >>
    >> Hi All
    >>
    >> I want to send an email programmatically (not thru any email client

    >software).
    >> I use JavaMail API to achieve this.
    >>
    >> I am able to now compile as well as execute a JavaMail program. Problem

    >now
    >> is that my company is using exchange server as the backend mail server.
    >>
    >> So if I want to send email, it ties closely to my NT account. Besides

    that
    >> I am not sure if Exchange server uses the SMTP protocol to send email.

    I
    >> believe it does. However, I am wondering if any of you outta have managed
    >> successfully send email thru a exchange server. Can you provide me a hand
    >> here?
    >>
    >> rgds,
    >> Saiful

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center