Solved

Command line "sendmail" to Notes 4.5x

Posted on 1998-11-20
3
200 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Lotus Notes and VMWare require a double-click 22 1,320
Validating Email Address 13 278
Domino Server 11 62
Lotus Notes Calendar Help 6 93
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

10 Experts available now in Live!

Get 1:1 Help Now