-
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
-
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
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks