The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sending mail via smtp elko.hasse UNIX for Dummies Questions & Answers 2 11-21-2007 05:41 AM
Send email using Exchange as SMTP fidodido UNIX for Dummies Questions & Answers 2 01-20-2006 10:05 AM
SMTP mail Euler04 IP Networking 1 10-10-2005 01:54 PM
SMTP going to Junk Mail saabir UNIX for Advanced & Expert Users 3 02-23-2004 06:56 PM
can not send mail from unix server to company/yahoo mail b5fnpct UNIX for Dummies Questions & Answers 5 11-22-2002 09:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-08-2009
mohantmk mohantmk is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 9
Send mail using SMTP

Hi I need to send email from batch script, using SMTP from my exchange server. Can any one send me command line of that should be non interactive.

I did using MAPISEND, but i should not use it for some reasons. I have to send this using SMTP for Microsoft Exchange Server.

mapisend -u "Outlook" -p pass1234 -r mail1@mail.com -s "Connection Failed" -m "Couldn't connect to SFTP server"

Can any one send me the command line for SMTP?

--
Thanks,
Mohan
  #2 (permalink)  
Old 01-09-2009
csorhand csorhand is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 81
mohantmk,

You can use the DOS prompt and telnet your SMTP server like this

1. telnet < SMTP Server IP > 25

from there you

2. type ehlo < the domain name > you will receive prompt

google about STMP commands ( MAILTO / MAIL from/ DATA)


cheers!
  #3 (permalink)  
Old 01-10-2009
mohantmk mohantmk is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 9
It Works! Thanks for the solution.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 10:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0