Solved

Command line "sendmail" to Notes 4.5x

Posted on 1998-11-20
3
201 Views
Last Modified: 2013-12-18
I need to send mail from a command prompt to Notes, but without the SMTP MTA being an option.  I realize this is pretty unusual, but is there a way?  Access to perl and C may help, but I'm not sure how to make a connection to Notes without using the supplied GUI or logging in.  I'm not too concerned with the "From" address, as long as the mail reaches its destination.
0
Comment
Question by:bcross
3 Comments
 
LVL 1

Expert Comment

by:wrichard
ID: 1117657
So if I understand you correctly, you are tring to send mail to a notes server from the command line of another system without using SMTP MTA.  I'm assuming you are trying to write data to a mail in database.  I'm not sure how you can send then mail without using the SMTP MTA or another protocal, but instead of sending mail from the command line you could pass data to a Notes database from the command line using the API (C, C++, Hi test) or you possibly even use an ODBC or JDBC connection to send data to the back end of a Notes DB.

hope this helps
0
 

Author Comment

by:bcross
ID: 1117658
Not that there's anything wrong with the answer, I'm just hoping to get something more.  You may be right.
0
 
LVL 2

Accepted Solution

by:
cwalter earned 200 total points
ID: 1117659
There are 2 ways to accomplish what your trying to do since there are only 2 ways to access Notes/Dominos MTA, you must use the MTA to sendmail via SMTP, there are no exceptions. Only an MTA can transfer mail!

Option 1 is to get the data into the Notes/Domino smtp.box (or whatever the outgoing smtp database is on your server). However this is not easily done at the command prompt and would require extensive coding and encryption logarithms if the DB is encrypted at the file system.

Option 2 is to interact with SMTP. The Notes/Domino SMTP MTA requires no authentication. The following steps will walk you through sending e-mail this way.
1. Telnet to notes.domain.com (or whatever the hostname is) on port 25
2. Type 'helo domain.com' domain.com is your domain.
3. Type 'mail from: user@domain.com' user@domain.com is the from address in SMTP
4. Type 'rcpt to: user2@domain2.com' user2@domain2.com is the receipient address in SMTP.
5. Type 'data'
6. Now enter your message, when finished type a '.' (just a period) on a line all by itself.

There is also a program in the NT Resource Kit which allows you to make a text file containg the message info and then use a command line exe along with this file you created as the input file and send the message via SMTP to the MTA.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now