Networking Forums

Networking Forums > Computer Networking > Linux Networking > Login to MS Exchange to send e-mail

Reply
Thread Tools Display Modes

Login to MS Exchange to send e-mail

 
 
Y W Wong
Guest
Posts: n/a

 
      05-27-2004, 04:36 PM
Dear all,

Anyone know that how can I login to a MS Exchange server using my corporate
e-mail account to send a e-mail.
I use to do some automatic job and send the result to my colleagues in my
corporation.
I am using a RH9 Linux box and prefer to use Perl or shell script to do
that.

Many thanks,

YW


 
Reply With Quote
 
 
 
 
Petri
Guest
Posts: n/a

 
      05-27-2004, 05:14 PM
In article <c956nn$23eb$(E-Mail Removed)>, Y W Wong says...
> Anyone know that how can I login to a MS Exchange server using
> my corporate e-mail account to send a e-mail.
> I use to do some automatic job and send the result to my
> colleagues in my corporation.
> I am using a RH9 Linux box and prefer to use Perl or shell
> script to do that.


Ask your exchange admin to start the SMTP-, and IMAP- or POP3-connectors on the
Exchange Server.
Then use the usual mail-modules available from CPAN.

If the connectors aren't already active, that is.
Have you checked if they are?


Petri

 
Reply With Quote
 
Y W Wong
Guest
Posts: n/a

 
      05-28-2004, 01:48 PM
I just want to act as a simple script type MS Outlook to send text mail.
Anyone know how ?


"Petri" <(E-Mail Removed)> ¦b¶l¥ó news:(E-Mail Removed)
¤¤¼¶¼g...
> In article <c956nn$23eb$(E-Mail Removed)>, Y W Wong says...
> > Anyone know that how can I login to a MS Exchange server using
> > my corporate e-mail account to send a e-mail.
> > I use to do some automatic job and send the result to my
> > colleagues in my corporation.
> > I am using a RH9 Linux box and prefer to use Perl or shell
> > script to do that.

>
> Ask your exchange admin to start the SMTP-, and IMAP- or POP3-connectors

on the
> Exchange Server.
> Then use the usual mail-modules available from CPAN.
>
> If the connectors aren't already active, that is.
> Have you checked if they are?
>
>
> Petri
>



 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      05-28-2004, 02:22 PM
On 2004-05-28, Y W Wong <(E-Mail Removed)> wrote:

>>> Anyone know that how can I login to a MS Exchange server using
>>> my corporate e-mail account to send a e-mail. I use to do some
>>> automatic job and send the result to my colleagues in my
>>> corporation. I am using a RH9 Linux box and prefer to use Perl
>>> or shell script to do that.

>>
>> Ask your exchange admin to start the SMTP-, and IMAP- or
>> POP3-connectors on the Exchange Server. Then use the usual
>> mail-modules available from CPAN.

>
> I just want to act as a simple script type MS Outlook to send
> text mail. Anyone know how ?


Yes. You've just been told how. What part of the answer
didn't you understand?

--
Grant Edwards grante Yow! Hey, waiter! I want
at a NEW SHIRT and a PONY TAIL
visi.com with lemon sauce!
 
Reply With Quote
 
Y W Wong
Guest
Posts: n/a

 
      05-29-2004, 04:00 PM
I understood the SMTP and POP3 description.
But it doesn't answer my question.
I am asking how to login like MS Outlook, not by POP3 or SMTP.
Hope that someone know what I am asking for.


"Grant Edwards" <(E-Mail Removed)> ¦b¶l¥ó
news:(E-Mail Removed) ¤¤¼¶¼g...
> On 2004-05-28, Y W Wong <(E-Mail Removed)> wrote:
>
> >>> Anyone know that how can I login to a MS Exchange server using
> >>> my corporate e-mail account to send a e-mail. I use to do some
> >>> automatic job and send the result to my colleagues in my
> >>> corporation. I am using a RH9 Linux box and prefer to use Perl
> >>> or shell script to do that.
> >>
> >> Ask your exchange admin to start the SMTP-, and IMAP- or
> >> POP3-connectors on the Exchange Server. Then use the usual
> >> mail-modules available from CPAN.

> >
> > I just want to act as a simple script type MS Outlook to send
> > text mail. Anyone know how ?

>
> Yes. You've just been told how. What part of the answer
> didn't you understand?
>
> --
> Grant Edwards grante Yow! Hey, waiter! I

want
> at a NEW SHIRT and a PONY

TAIL
> visi.com with lemon sauce!



 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      05-29-2004, 05:11 PM
In article <c9adch$1sjv$(E-Mail Removed)>, Y W Wong wrote:

>> >>> Anyone know that how can I login to a MS Exchange server using
>> >>> my corporate e-mail account to send a e-mail. I use to do some
>> >>> automatic job and send the result to my colleagues in my
>> >>> corporation. I am using a RH9 Linux box and prefer to use Perl
>> >>> or shell script to do that.
>> >>
>> >> Ask your exchange admin to start the SMTP-, and IMAP- or
>> >> POP3-connectors on the Exchange Server. Then use the usual
>> >> mail-modules available from CPAN.
>> >
>> > I just want to act as a simple script type MS Outlook to send
>> > text mail. Anyone know how ?

>>
>> Yes. You've just been told how. What part of the answer
>> didn't you understand?

>
> I understood the SMTP and POP3 description. But it doesn't
> answer my question. I am asking how to login like MS Outlook,
> not by POP3 or SMTP.


You can't. Outlook uses a proprietary, undocumented protocol
to talk to Exchange server. The only way to send mail w/o
using SMTP is to run you application under Windows and use the
COM interface to Outlook and send mail using Outlook itself.

You said that what you want to do is use a simple script
interface to send text e-mails. That is about as far from
being "like Outlook" as you can get.

--
Grant Edwards grante Yow! HOORAY, Ronald!! Now
at YOU can marry LINDA
visi.com RONSTADT too!!
 
Reply With Quote
 
Joe
Guest
Posts: n/a

 
      05-29-2004, 05:29 PM
In message <40b8c454$0$17252$(E-Mail Removed)>, Grant
Edwards <(E-Mail Removed)> writes
>In article <c9adch$1sjv$(E-Mail Removed)>, Y W Wong wrote:
>
>>
>> I understood the SMTP and POP3 description. But it doesn't
>> answer my question. I am asking how to login like MS Outlook,
>> not by POP3 or SMTP.

>
>You can't. Outlook uses a proprietary, undocumented protocol
>to talk to Exchange server. The only way to send mail w/o
>using SMTP is to run you application under Windows and use the
>COM interface to Outlook and send mail using Outlook itself.
>

The protocol is called MAPI. Search for this on the Net to get a feel
for the ease of interfacing with it.
--
Joe
 
Reply With Quote
 
Grant Edwards
Guest
Posts: n/a

 
      05-29-2004, 06:56 PM
On 2004-05-29, Joe <(E-Mail Removed)> wrote:

>>> I understood the SMTP and POP3 description. But it doesn't
>>> answer my question. I am asking how to login like MS Outlook,
>>> not by POP3 or SMTP.

>>
>>You can't. Outlook uses a proprietary, undocumented protocol
>>to talk to Exchange server. The only way to send mail w/o
>>using SMTP is to run you application under Windows and use the
>>COM interface to Outlook and send mail using Outlook itself.

>
> The protocol is called MAPI. Search for this on the Net to get a feel
> for the ease of interfacing with it.


MAPI (Messaging Application Program Interface) is the library
API rather than the protocol:

http://www.outlookcode.com/d/mapi.htm

--
Grant Edwards grante Yow! It don't mean a
at THING if you ain't got
visi.com that SWING!!
 
Reply With Quote
 
Jeff Breitner
Guest
Posts: n/a

 
      05-29-2004, 09:30 PM
Y W Wong wrote:
> I understood the SMTP and POP3 description.
> But it doesn't answer my question.
> I am asking how to login like MS Outlook, not by POP3 or SMTP.
> Hope that someone know what I am asking for.
>



You can log in for mail retrieval using IMAP (provided it is enabled).
You will not see any of your contact or calendaring data however since
this isn't MAPI.

I do not know of any compatible MAPI clients.


--

WWJD? JWRTFM
Rot13 for email address: yvfgf @ ehqa.pbz
 
Reply With Quote
 
Petri
Guest
Posts: n/a

 
      05-29-2004, 10:11 PM
In article <c9adch$1sjv$(E-Mail Removed)>, Y W Wong says...
>>>> Ask your exchange admin to start the SMTP-, and IMAP- or
>>>> POP3-connectors on the Exchange Server. Then use the usual
>>>> mail-modules available from CPAN.


>>> I just want to act as a simple script type MS Outlook to
>>> send text mail. Anyone know how ?


>> Yes. You've just been told how. What part of the answer
>> didn't you understand?


> I understood the SMTP and POP3 description.
> But it doesn't answer my question.
> I am asking how to login like MS Outlook, not by POP3 or SMTP.
> Hope that someone know what I am asking for.


Do you know, yourself?
Use POP3 or IMAP to login to your exchange mailbox, just like Outlook does.
What's the problem?

Actually, you probably don't even have to login at all, since you claim you only
want to send email, and SMTP authentication is not on by default in Exchange
Server.
use Net::SMTP; # Or anyone of the numerous free email modules on CPAN.


Petri

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Send Mail! Don Wireless Networks 2 11-01-2006 04:48 PM
Cannot send e-mail or login to certain sites Kevin Broadband Hardware 2 09-22-2004 04:16 PM
Can't send mail when connected through MN-100 Chris Broadband Hardware 1 09-10-2004 02:10 PM
Can't send mail.... GH Wireless Internet 2 02-10-2004 03:46 PM
send mail MaDuNiX Linux Networking 3 09-11-2003 06:28 PM



1 2 3 4 5 6 7 8 9 10 11