Re: Sending an email WITHOUT profile possible?

"'Chip' [email protected] [blat]" <[email protected]>
Newsgroups gmane.mail.blat
Message-ID <F29F4EAB54DD48CDADA2C50722BA7EC8@chip>
> Sorry for this newbie question.
> I am currently evaluating blat.
>
> From what I read so far users can create profiles for sending email.
>
> But is it possible to send emails WITHOUT using a profile?
>
> I did not found any example and guide how to do this.
>
> It must be something like:
>
> blat.exe server:<servername> <login>:<password> to:<recipient> 
> from:<sender>
> subject:<subject> body:<body>
>
> How is the syntax for this case in detail?
> Is there an example?
>
> Putting all the stuff to send into an one-shot file and passing this as 
> parameter to
> blat like:
>
> blat.exe -send=D:\data\tempmail.txt
>
> would be acceptable as well.
>
> Thank you
> Ben


The use of profiles is for convenience, not a requirement.  Given your 
example, the
command line options that you would be looking for are:

blat  -  -server "servername or IP"  -u userid  -pw password  -t 
recipientemailaddress
-f youremailaddress  -s "This is a subject"  -body "Body of your 
message|goes
here||sincerely yours,|me"

The vertical bars I show is to indicate a line feed.  Since the command line 
cannot normally include carriage returns / line feeds, Blat allows the 
vertical bar to be used  wherever you desire a carriage return / line feed, 
when using the -body option.

If you want quotation marks (“) in the message body, and you are using 
the –body option, you need to have a backslash immediately before each 
quotation mark in your message.  For example, –body “This is a message with 
\”quotation marks\” embedded inside.”

Using an options file to contain the list of options would be accomplished 
with the –OF command line argument, for Options File.  This file needs to be 
plain text or Unicode, something that could be edited with Notepad.

There is a lot more to this than the simple example shown, such as 
salutations and postscripts, specifying a person's name along with their 
email address, embedded images inside HTML, and more.

Chip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.