Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Trying to insert picture using send/subject

 [1/7] from: dechert:gma:il at: 10-Jun-2008 15:35


I have been sending semi-personalized email announcements to my group with this one-liner: send/subject dechert-gmail.com join "Dear Mr. Dechert:^M" read file:///thisfile.txt "This is the Subject" (I have script to replace email address and salutation) This has been working fine for text. Now, I want to insert a picture -- don't know how or if possible with send/subject. Clues? Alan D.

 [2/7] from: gregg:pointillistic at: 10-Jun-2008 17:17


Hi Alan, AD> I have been sending semi-personalized email announcements to my group with AD> this one-liner: AD> send/subject dechert-gmail.com join "Dear Mr. Dechert:^M" read AD> file:///thisfile.txt "This is the Subject" AD> (I have script to replace email address and salutation) AD> This has been working fine for text. Now, I want to insert a picture -- AD> don't know how or if possible with send/subject. Clues? Try the /attach refinement. -- Gregg

 [3/7] from: dechert:gmai:l at: 10-Jun-2008 21:04


Thanks, Gregg. send/subject/attach dechert-gmail.com join "Dear Mr. Dechert:^M" read file:///myfile.txt "This is the Subject" %mypicture.jpg Okay, this worked to attach the picture, but I want the picture in the body of the email. For example, if you use html format with Outlook Express and then do Insert|picture the recipient will see the picture in the email without having to click on the attachment. Alan

 [4/7] from: gregg:pointillistic at: 10-Jun-2008 22:46


Hi Alan, AD> send/subject/attach dechert-gmail.com join "Dear Mr. Dechert:^M" read AD> file:///myfile.txt "This is the Subject" %mypicture.jpg AD> Okay, this worked to attach the picture, but I want the picture in the body AD> of the email. For example, if you use html format with Outlook Express and AD> then do Insert|picture the recipient will see the picture in the email AD> without having to click on the attachment. I've never done that, but I'm pretty sure it won't be a one-liner. Look at an email that's formatted how you want. Probably a multipart/related, with plain text and html content sections, and the HTML refs an attached image with an embedded content ID (just glance at one quickly here). Once you know what it should look like, hack SEND and let us know how it works out. :) -- Gregg

 [5/7] from: tom:conlin::gmail at: 10-Jun-2008 15:41


have you tried send/attach ? send ... /attach -- Attach file, files, or [.. [filename data]] files -- The files to attach to the message (Type: file block) ... Alan Dechert wrote:

 [6/7] from: petr:krenzelok:seznam:cz at: 11-Jun-2008 10:43


Gregg Irwin napsal(a):
> Hi Alan, > AD> send/subject/attach dechert-gmail.com join "Dear Mr. Dechert:^M" read
<<quoted lines omitted: 8>>
> HTML refs an attached image with an embedded content ID (just glance > at one quickly here).
Hi, I was asked to produce script some time ago, which would allow to have e-postcard inline, and I am not sure it was done by multipart/related only. There was a "strange" element called "cid:" (referenced by content ID?) I suggest to look at http://www.view-card.com Here's content of message, containing inline postcard: ------------------------- This is a multi-part message in MIME format. --------------020901080506000807040501 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit PopCard Greetings E-mail Greetings Card --------------020901080506000807040501 Content-Type: multipart/related; boundary="------------060004020903050504090102" --------------060004020903050504090102 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <img src="cid:part1.1213173441.02090003-popsoft.info" border="0"><br> <font face="verdana,helvetica,geneva" size="1"> This card powered by <a href="http://www.view-card.com/">View Card</a> <a href="http://greeting.view-card.com/">Greeting</a><br> </font> </body> </html> --------------060004020903050504090102 Content-Type: image/jpeg; name="popcard1213173441.jpg" Content-Transfer-Encoding: base64 Content-Id: <part1.1213173441.02090003-popsoft.info> Content-Disposition: inline; filename="popcard.jpg" /9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg Cheers, -pekr-

 [7/7] from: gschwarz:sctelco:au at: 16-Jun-2008 11:13


You could have all the pictures stored on a web site and links in our html formated email to these pictures. This way to emails are still small to send, and the reciever can load the pictures if they want to. Regards, Greg

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted