Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automate sending files or messages in email, Eudora

Status
Not open for further replies.

jnicks

IS-IT--Management
Joined
Apr 3, 2002
Messages
219
Location
US
There have been postings on writing code for sending email from a desktop icon or sending emails to lists of people or to a list of people with a different file for each.

This is very easy with an Eudora Mail Client.

For mailings rates of under a thousand or so an hour there is a much simpler solution than cutting code.

Mailing's of a hundred or two a day are dead simple, take a few minutes at most.

A very handy way of distributing email for schools, clubs, PTAs, churches, departments or middle sized companies.


HOW TO
The Eudora email Client, even Lite back to 3.0, allows you to send a message file. A Eudora client is free for most.

Details:

The following batch (command) file puts an Email into my Eudora Outbox.

-----------------------
@echo off
echo To: jnickson@roninsg.com >msg.msg
echo Subject: test >>msg.msg

rem make a blank line then add the body
echo.>>msg.msg
echo Test>> msg.msg

rem mesage finished, now send it.
eudora msg.msg
-------------------------
From the desktop, just make a Link, shortcut, ... and link to the batch file.

If you wish to attach a file(s) use (all one line)

X-Attachments: g:\openoffice\openoffice.install

Which would email a 65 Meg install to everyone on the list. Interesting. Please don't send me an OO install, I already have one.

------------------------------------------

Consider the person who had to send daily lists to the schools in a school district, and the lists were all text files in a folder:

\dialy\PS1.txt
\daily\PS2.txt
and so forth.

Two simple solutions are possible:

1. The TO: might be included in the top line of the text file, in which case prepending the rest of the information is simple.

2. A very small program could look up a to: address from a file prepend it to the text, and spawn Eudora sending the message.


-----------------------------------------

If you want to code, it is dead simple to create a text file with EXT of MSG and then spawn Eudora in BASIC, VBasic, C, or even old QuickBasic.

Just create the text lines in a MSG file and Shell(spawn) to Eudora with the MSG file [d:][path]filnename.MSG as the only parameter.


-------------------------------

You may also use a line FROM: to spoof Emial From addresses, which can be VERY useful for an administrator managing Emial for a CEO.

This is not a kiddie script. Do not try to spoof harmful Email as the message IDs will nail you.

If you have any questions, send an Email:

-----------------------
@echo off

Notepad ToJay.MSG

echo To: jnickson@roninsg.com >header
echo Subject: Question>>header
echo.>>header
Copy header + Tojay.MSG msg.msg
eudora msg.msg
-------------------------

Grin.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top