Discussion:
Re: Yahoo Groups: Welcome to blat. Visit today!
(too old to reply)
'Chip' chip.programmer@att.net [blat]
2017-03-30 18:50:20 UTC
Permalink
Hi,
Thank you for the welcome.
I am a new user of BLAT (v3.2.10, 32 bit) having used it for the past week
only. I learnt about BLAT from some professional friends.
I have been using it to send test text alert messages and so far it has
worked fine. The next phase of the exercise is to send jpg file(s) of
plotted data images to accompany the text messages but I have not had any
success so far. I have used the following command line and it has executed
The jpg file has been sent as an attachment but the attached file seems to
be empty because it cannot load and picture.
Today I learnt by reading BLAT doc that -embed can be used to send jpg
files. Would it be possible provide an example of a command syntax for
this purpose.
Thank you.
Ima Itikarai
Ima,

Here is an example:

blat someTextFile.txt -attach ula1minrsam.jpg -s "ULA RSAM ALERT" -to
***@gmail.com -cc ***@mineralgov.pg

The -attach option is what you need for the image file. The
someTextFile.txt could be any text file that has something meaningful about
why the email is being sent.

Chip


---
This email has been checked for viruses by AVG.
http://www.avg.com
'Chip' chip.programmer@att.net [blat]
2017-03-31 01:13:26 UTC
Permalink
Two of your emails came through with attachments, two did not. If you want to have images within the message, the only way I know is to use HTML for your message, with a line like this in your HTML:

<img src="cid:man1minrsam.jpg">

The cid: tag tells the HTML viewer that the image should be part of the email using the name that follows. When using cid: tags, do not include path names, use _only_ the filename.

If you do use the above cid: syntax, you can them specify –embed on the Blat command line, which may or may not include a full path to the image file you want embedded into the HTML email. The name used with cid: must be the filename of your image file because Blat will use that filename in the message content it builds.

Here is a line from a sample html that I use for testing Blat:

<p><img src="cid:embeddedImage1.jpg">&nbsp;Test for embedded image</p>


Chip


From: Ima Itikarai
Sent: Thursday, March 30, 2017 3:35 PM
To: Chip
Cc: ***@yahoogroups.com
Subject: Re: Yahoo Groups: Welcome to blat. Visit today!

Hi Chip,

Thank you very much. It did work. The attachment was sent and I was able to open it. Wonderful!!

I also learnt from the documentation that the image can become part of the email message. Could you provide an example for this.

I have run an example of what I am doing and included you as a recipient for your information.

Thank you

Ima.

On Fri, Mar 31, 2017 at 4:50 AM, Chip <***@att.net> wrote:
Hi,

Thank you for the welcome.

I am a new user of BLAT (v3.2.10, 32 bit) having used it for the past week
only. I learnt about BLAT from some professional friends.

I have been using it to send test text alert messages and so far it has
worked fine. The next phase of the exercise is to send jpg file(s) of
plotted data images to accompany the text messages but I have not had any
success so far. I have used the following command line and it has executed
with no error messages:

blat ula1minrsam.jpg -s "ULA RSAM ALERT" -to ***@gmail.com -cc
***@mineralgov.pg

The jpg file has been sent as an attachment but the attached file seems to
be empty because it cannot load and picture.

Today I learnt by reading BLAT doc that -embed can be used to send jpg
files. Would it be possible provide an example of a command syntax for
this purpose.

Thank you.

Ima Itikarai

Ima,

Here is an example:

blat someTextFile.txt -attach ula1minrsam.jpg -s "ULA RSAM ALERT" -to
***@gmail.com -cc ***@mineralgov.pg

The -attach option is what you need for the image file. The
someTextFile.txt could be any text file that has something meaningful about
why the email is being sent.

Chip

---
This email has been checked for viruses by AVG.
http://www.avg.com
Ima Itikarai iitikarai@gmail.com [blat]
2017-03-31 12:44:15 UTC
Permalink
Hi Chip,

Thanks for the explanation on how to have the jpg image in the body of the
email instead of an attachment.

Below is a simple short batch file that runs my small project:

*blat -install 127.0.0.1:25 <http://127.0.0.1:25/> ***@gmail.com
<***@gmail.com> 1 - - iitikarai yck94nact*
*rsamalert_man*
*rem blat rsam_alert_man.txt -attach man1minrsam.jpg -s "MAN RSAM ALERT"
-log log.txt -to ***@gmail.com <***@gmail.com>*
*blat rsam_alert_man.txt -attach man1minrsam.jpg -html <img
src="cid:man1minrsam.jpg"> -s "MAN RSAM ALERT" -log log.txt -debug
-to ***@gmail.com <***@gmail.com>*
*del rsam_alert_man.txt*

Line 2 (rsamalert_man) is a program that processes input data and produces;

- *rsam_alert_man.txt*
*- **man1minrsam.jpg*

I added the -html line in Line 4 and it is not passing the test. It gives
the message, "The system cannot find the file specified". The jpg file is
in the folder where the batch file runs. I suspect its not passing the test
because the syntax for the -html is not correct. Would you be able to help
again on this.

Thank you.

Ima.
Post by 'Chip' ***@att.net [blat]
Two of your emails came through with attachments, two did not. If you
want to have images within the message, the only way I know is to use HTML
<img src="cid:man1minrsam.jpg">
The cid: tag tells the HTML viewer that the image should be part of the
email using the name that follows. When using cid: tags, do not include
path names, use _only_ the filename.
If you do use the above cid: syntax, you can them specify –embed on the
Blat command line, which may or may not include a full path to the image
file you want embedded into the HTML email. The name used with cid: must
be the filename of your image file because Blat will use that filename in
the message content it builds.
<p><img src="cid:embeddedImage1.jpg">&nbsp;Test for embedded image</p>
Chip
*Sent:* Thursday, March 30, 2017 3:35 PM
*Subject:* Re: Yahoo Groups: Welcome to blat. Visit today!
Hi Chip,
Thank you very much. It did work. The attachment was sent and I was able
to open it. Wonderful!!
I also learnt from the documentation that the image can become part of the
email message. Could you provide an example for this.
I have run an example of what I am doing and included you as a recipient
for your information.
Thank you
Ima.
Hi,
Thank you for the welcome.
I am a new user of BLAT (v3.2.10, 32 bit) having used it for the past week
only. I learnt about BLAT from some professional friends.
I have been using it to send test text alert messages and so far it has
worked fine. The next phase of the exercise is to send jpg file(s) of
plotted data images to accompany the text messages but I have not had any
success so far. I have used the following command line and it has executed
The jpg file has been sent as an attachment but the attached file seems to
be empty because it cannot load and picture.
Today I learnt by reading BLAT doc that -embed can be used to send jpg
files. Would it be possible provide an example of a command syntax for
this purpose.
Thank you.
Ima Itikarai
Ima,
blat someTextFile.txt -attach ula1minrsam.jpg -s "ULA RSAM ALERT" -to
The -attach option is what you need for the image file. The
someTextFile.txt could be any text file that has something meaningful about
why the email is being sent.
Chip
---
This email has been checked for viruses by AVG.
http://www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
'Chip' chip.programmer@att.net [blat]
2017-03-31 15:42:38 UTC
Permalink
Post by 'Chip' ***@att.net [blat]
Hi Chip,
Thanks for the explanation on how to have the jpg image in the body of the email instead of an attachment
rsamalert_man
del rsam_alert_man.txt
Line 2 (rsamalert_man) is a program that processes input data and produces;
- rsam_alert_man.txt
- man1minrsam.jpg
I added the -html line in Line 4 and it is not passing the test. It gives the message, "The system cannot find the file specified". The jpg file is in the folder where the batch file runs. I suspect its not passing the test because the syntax for the -html is not correct. Would you be able to help again on this.
Thank you.
Ima.
Ima,

When sending emails to the Blat group, please remove or edit any userid and passwords that might be included.

The actual line of html for including the image needs to be within the message file itself. In other words, the content of your message file must be html.

Below is the actual test file I use in testing, named nfl_logos.htm:

---------------------------
<html>
<body>
<p>To use the following logos and names, just copy and paste into future emails with your picks.<br>
<img src="https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcTBPlNA96dvYrDb9V10t9xPWvghVwPtCO1MvDDyMFEtHYcorgSKf13GAhk" width="53.5" height="45"></p>
<br>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Arizona Cardinals</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Atlanta Falcons</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Baltimore Ravens</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Buffalo Bills</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Carolina Panthers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Chicago Bears</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Cincinnati Bengals</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Cleveland Browns</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Dallas Cowboys</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Denver Broncos</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Detroit Lions</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Green Bay Packers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Houston Texans</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Indinapolis Colts</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Jacksonville Jaguars</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Kansas City Chiefs</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Miami Dolphins</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Minnesota Vikings</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;New England Patriots</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;New Orleans Saints</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;New York Giants</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;New York Jets</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Oakland Raiders</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Philadelphia Eagles</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Pittsburgh Steelers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;San Diego Chargers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Seattle Seahawks</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;San Francisco 49ers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;St Louis Rams</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Tampa Bay Buccaneers</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Tennessee Titans</p>
<p><img src="Loading Image..." width="75" height="75">&nbsp;Washington Redskins</p>
<p><img src="cid:embeddedImage1.jpg">&nbsp;Test for embedded image</p>
</body>
</html>
---------------------------

Very near the bottom of my file shown above is the cid: tag that tells the html renderer to look for an embedded image within the email, and what that image name is.

My command line to send that file is this:
x64\Release\blat.exe ..\Test_Files\nfl_logos.htm -embed "..\Test_Files\embeddedImage1.jpg" -to myself -s "Testing embedded images" -p smtp4dev -log R:\blat.log

I do not need the –html option because the message filename (..\Test_Files\nfl_logos.htm) already has .htm extension, which Blat uses to look for the content type in Windows registry.

Chip

---
This email has been checked for viruses by AVG.
http://www.avg.com
Ima Itikarai iitikarai@gmail.com [blat]
2017-03-31 18:19:33 UTC
Permalink
Hi Chip,

Thank you. After some effort I managed to get the graph image as the
content of the email.

After that I tried WITHOUT success to get the text notification and graph
image to both appear on the email content. I tried all possible commands
but every time the notification text always ended up as an attachment.

Please confirm that this cannot be done and I will end up sending the text
notification as the email content and the graph image as an attachment as I
sent you the other day.

Ima.
Post by 'Chip' ***@att.net [blat]
Post by 'Chip' ***@att.net [blat]
Hi Chip,
Thanks for the explanation on how to have the jpg image in the body of
the email instead of an attachment
Post by 'Chip' ***@att.net [blat]
rsamalert_man
rem blat rsam_alert_man.txt -attach man1minrsam.jpg -s "MAN RSAM ALERT"
blat rsam_alert_man.txt -attach man1minrsam.jpg -html <img
src="cid:man1minrsam.jpg"> -s "MAN RSAM ALERT" -log log.txt -debug -to
Post by 'Chip' ***@att.net [blat]
del rsam_alert_man.txt
Line 2 (rsamalert_man) is a program that processes input data and
produces;
Post by 'Chip' ***@att.net [blat]
- rsam_alert_man.txt
- man1minrsam.jpg
I added the -html line in Line 4 and it is not passing the test. It
gives the message, "The system cannot find the file specified". The jpg
file is in the folder where the batch file runs. I suspect its not passing
the test because the syntax for the -html is not correct. Would you be able
to help again on this.
Post by 'Chip' ***@att.net [blat]
Thank you.
Ima.
Ima,
When sending emails to the Blat group, please remove or edit any userid
and passwords that might be included.
The actual line of html for including the image needs to be within the
message file itself. In other words, the content of your message file must
be html.
---------------------------
<html>
<body>
<p>To use the following logos and names, just copy and paste into future
emails with your picks.<br>
ANd9GcTBPlNA96dvYrDb9V10t9xPWvghVwPtCO1MvDDyMFEtHYcorgSKf13GAhk"
width="53.5" height="45"></p>
<br>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/ari.png"
width="75" height="75">&nbsp;Arizona Cardinals</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/atl.png"
width="75" height="75">&nbsp;Atlanta Falcons</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/bal.png"
width="75" height="75">&nbsp;Baltimore Ravens</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/buf.png"
width="75" height="75">&nbsp;Buffalo Bills</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/car.png"
width="75" height="75">&nbsp;Carolina Panthers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/chi.png"
width="75" height="75">&nbsp;Chicago Bears</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/cin.png"
width="75" height="75">&nbsp;Cincinnati Bengals</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/cle.png"
width="75" height="75">&nbsp;Cleveland Browns</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/dal.png"
width="75" height="75">&nbsp;Dallas Cowboys</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/den.png"
width="75" height="75">&nbsp;Denver Broncos</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/det.png"
width="75" height="75">&nbsp;Detroit Lions</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/gb.png"
width="75" height="75">&nbsp;Green Bay Packers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/hou.png"
width="75" height="75">&nbsp;Houston Texans</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/ind.png"
width="75" height="75">&nbsp;Indinapolis Colts</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/jax.png"
width="75" height="75">&nbsp;Jacksonville Jaguars</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/kc.png"
width="75" height="75">&nbsp;Kansas City Chiefs</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/mia.png"
width="75" height="75">&nbsp;Miami Dolphins</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/min.png"
width="75" height="75">&nbsp;Minnesota Vikings</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/ne.png"
width="75" height="75">&nbsp;New England Patriots</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/no.png"
width="75" height="75">&nbsp;New Orleans Saints</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/nyg.png"
width="75" height="75">&nbsp;New York Giants</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/nyj.png"
width="75" height="75">&nbsp;New York Jets</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/oak.png"
width="75" height="75">&nbsp;Oakland Raiders</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/phi.png"
width="75" height="75">&nbsp;Philadelphia Eagles</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/pit.png"
width="75" height="75">&nbsp;Pittsburgh Steelers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/sd.png"
width="75" height="75">&nbsp;San Diego Chargers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/sea.png"
width="75" height="75">&nbsp;Seattle Seahawks</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/sf.png"
width="75" height="75">&nbsp;San Francisco 49ers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/stl.png"
width="75" height="75">&nbsp;St Louis Rams</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/tb.png"
width="75" height="75">&nbsp;Tampa Bay Buccaneers</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/ten.png"
width="75" height="75">&nbsp;Tennessee Titans</p>
<p><img src="http://a.espncdn.com/i/teamlogos/nfl/500/scoreboard/wsh.png"
width="75" height="75">&nbsp;Washington Redskins</p>
<p><img src="cid:embeddedImage1.jpg">&nbsp;Test for embedded image</p>
</body>
</html>
---------------------------
Very near the bottom of my file shown above is the cid: tag that tells the
html renderer to look for an embedded image within the email, and what that
image name is.
x64\Release\blat.exe ..\Test_Files\nfl_logos.htm -embed
"..\Test_Files\embeddedImage1.jpg" -to myself -s "Testing embedded
images" -p smtp4dev -log R:\blat.log
I do not need the –html option because the message filename
(..\Test_Files\nfl_logos.htm) already has .htm extension, which Blat uses
to look for the content type in Windows registry.
Chip
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
'Chip' chip.programmer@att.net [blat]
2017-04-01 02:44:42 UTC
Permalink
Post by 'Chip' ***@att.net [blat]
Hi Chip,
Thank you. After some effort I managed to get the graph image as the content of the email.
After that I tried WITHOUT success to get the text notification and graph image to both appear on the email content. I tried all possible commands but every time the notification text always ended up as an attachment.
Please confirm that this cannot be done and I will end up sending the text notification as the email content and the graph image as an attachment as I sent you the other day.
Ima.
If you intend to send plain text and have the image embedded within the message, this cannot be done – strictly speaking. Email standards do not allow for plain text messages to also include embedded images. If you receive an email that has an image inside the text area, then the message format will be html or possibly rich text.

If you can format the text notification as html, then you will be able to embed the image inside your html using the method already mentioned.

There is a way to have both plain text and html in the same message, and get the embedded image inside your html. How the email is viewed at the client will determine if they see html and image, or they will see plain text with the html and image as attachments. This requires that you format a message as two files, one each for plain text and html. Blat can then use the html file as your main message, and use the plain text file as alternate text with the –alttextf option. For example: blat htmlfile.htm –alttextf plaintextfile.txt –t someone –s “Some subject matter” –embed imageFile.jpg

Chip

---
This email has been checked for viruses by AVG.
http://www.avg.com
Ima Itikarai iitikarai@gmail.com [blat]
2017-04-07 13:19:43 UTC
Permalink
Hi,

I have been trying to SMS text messages to cell (mobile) phones with the
following syntax:

blat <text message> -s<subject> -to ***@digicelpng.interent.com.pg
or
blat <text message> -s<subject> -to
***@txt.digicelpng.internet.com.pg

The execution passes with no error messages however the message is not
received by the receiving cell phone.

My questions are:

(1) Does BLAT allow sending SMS to cell phones
(2) If yes, what is the wrong with the syntax I have used. What is the
correct syntax?

Thank you.

Ima.
Post by 'Chip' ***@att.net [blat]
Hi Chip,
Thanks for the explanation on how to have the jpg image in the body of the
email instead of an attachment.
*rsamalert_man*
*rem blat rsam_alert_man.txt -attach man1minrsam.jpg -s "MAN RSAM ALERT"
*blat rsam_alert_man.txt -attach man1minrsam.jpg -html <img
src="cid:man1minrsam.jpg"> -s "MAN RSAM ALERT" -log log.txt -debug
*del rsam_alert_man.txt*
Line 2 (rsamalert_man) is a program that processes input data and produces;
- *rsam_alert_man.txt*
*- **man1minrsam.jpg*
I added the -html line in Line 4 and it is not passing the test. It gives
the message, "The system cannot find the file specified". The jpg file is
in the folder where the batch file runs. I suspect its not passing the test
because the syntax for the -html is not correct. Would you be able to help
again on this.
Thank you.
Ima.
Post by 'Chip' ***@att.net [blat]
Two of your emails came through with attachments, two did not. If you
want to have images within the message, the only way I know is to use HTML
<img src="cid:man1minrsam.jpg">
The cid: tag tells the HTML viewer that the image should be part of the
email using the name that follows. When using cid: tags, do not include
path names, use _only_ the filename.
If you do use the above cid: syntax, you can them specify –embed on the
Blat command line, which may or may not include a full path to the image
file you want embedded into the HTML email. The name used with cid: must
be the filename of your image file because Blat will use that filename in
the message content it builds.
<p><img src="cid:embeddedImage1.jpg">&nbsp;Test for embedded image</p>
Chip
*Sent:* Thursday, March 30, 2017 3:35 PM
*Subject:* Re: Yahoo Groups: Welcome to blat. Visit today!
Hi Chip,
Thank you very much. It did work. The attachment was sent and I was able
to open it. Wonderful!!
I also learnt from the documentation that the image can become part of
the email message. Could you provide an example for this.
I have run an example of what I am doing and included you as a recipient
for your information.
Thank you
Ima.
Hi,
Thank you for the welcome.
I am a new user of BLAT (v3.2.10, 32 bit) having used it for the past week
only. I learnt about BLAT from some professional friends.
I have been using it to send test text alert messages and so far it has
worked fine. The next phase of the exercise is to send jpg file(s) of
plotted data images to accompany the text messages but I have not had any
success so far. I have used the following command line and it has executed
The jpg file has been sent as an attachment but the attached file seems to
be empty because it cannot load and picture.
Today I learnt by reading BLAT doc that -embed can be used to send jpg
files. Would it be possible provide an example of a command syntax for
this purpose.
Thank you.
Ima Itikarai
Ima,
blat someTextFile.txt -attach ula1minrsam.jpg -s "ULA RSAM ALERT" -to
The -attach option is what you need for the image file. The
someTextFile.txt could be any text file that has something meaningful about
why the email is being sent.
Chip
---
This email has been checked for viruses by AVG.
http://www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
iitikarai iitikarai@gmail.com [blat]
2017-04-01 03:06:44 UTC
Permalink
Thank you Chip. That is what I suspected and your suggestion to convert the txt file to html also crossed my mind but I thought it is too much effort to do it so will leave it as was done. Text as email and graph image as attachment.

Thanks a lot for all the help. 

Ima.


Sent from Samsung Mobile

-------- Original message --------
From: Chip <***@att.net>
Date: 01/04/2017 12:44 PM (GMT+10:00)
To: Ima Itikarai <***@gmail.com>
Cc: ***@yahoogroups.com
Subject: Re: how to embed images inside an email.
Post by 'Chip' ***@att.net [blat]
Hi Chip,
Thank you. After some effort I managed to get the graph image as the content of the email.
After that I tried WITHOUT success to get the text notification and graph image to both appear on the email content. I tried all possible commands but every time the notification text always ended up as an attachment.
Please confirm that this cannot be done and I will end up sending the text notification as the email content and the graph image as an attachment as I sent you the other day.
Ima.
 
 
If you intend to send plain text and have the image embedded within the message, this cannot be done – strictly speaking.  Email standards do not allow for plain text messages to also include embedded images.  If you receive an email that has an image inside the text area, then the message format will be html or possibly rich text.
 
If you can format the text notification as html, then you will be able to embed the image inside your html using the method already mentioned.
 
There is a way to have both plain text and html in the same message, and get the embedded image inside your html.  How the email is viewed at the client will determine if they see html and image, or they will see plain text with the html and image as attachments.  This requires that you format a message as two files, one each for plain text and html.  Blat can then use the html file as your main message, and use the plain text file as alternate text with the –alttextf option.  For example: blat htmlfile.htm –alttextf plaintextfile.txt –t someone –s “Some subject matter” –embed imageFile.jpg
 
Chip

Virus-free. www.avg.com
Loading...