LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-10-2008, 10:02 PM   #1
bobypt
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
send mail via exchange server


Hello,
Is it possible to send mail via Microsoft exchange server from a Linux shell?

Can this be done from Linux perl?

Thanks for your support.

Regards,
Boby Thomas
 
Old 04-11-2008, 01:56 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Yes, you can

How to test SMTP operations using Telnet

No experience with PERL, but if you can open sockets, you can implement it.

I use it on an intranet webserver (PHP implementation).
 
Old 04-11-2008, 02:41 AM   #3
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Most languages provide modules to send mail via smtp perl,python,php
 
Old 04-11-2008, 08:51 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by bobypt View Post
Hello,
Is it possible to send mail via Microsoft exchange server from a Linux shell?

Can this be done from Linux perl?
Yes. I'd check the server and see if SMTP is running on it. Then you can just set up your sendmail service on your Linux box, to point to it as a relay host, and use whatever mail commands you want to send.

Also, check out this node:

http://www.perlmonks.com/?node_id=294326

It has details you might want.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl linux - send mail via Microsoft exchange server bobypt Programming 1 04-11-2008 07:54 AM
How to connect linux mail server with the exchange mail server nanuseenu Linux - Newbie 4 03-04-2008 03:37 AM
send mail from workgroup to domain exchange server bharathvn Linux - Software 2 03-28-2005 06:43 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
Linux Mail Server and Exchange Mail vvandam Linux - Networking 10 07-11-2003 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration