View previous topic :: View next topic
|
Author |
Message |
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
Hi Friends,
I want to send an email whose body contains regular text and an image in the beginning of mail page. Please let me know if it is possible to do something like this. We have here HFS also (but i have not used that, but will try). I will manipulate the regular text with HTML tags so that it looks like webpage, but i am not sure how to go about inserting image.
Any suggestions or ideas will really help.
Thanks,
Ajay |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I will manipulate the regular text with HTML tags so that it looks like webpage, but i am not sure how to go about inserting image.
|
apart the technical aspects, are You / Your organization aware of the issues concerning eMails in HTML format ??
many organizations/users consider HTML formatted eMails as .... SPAM |
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
Hi Enrico,
Please suggest the approach that we can follow. It is just an intiative that we want to automate the process of sending such an email.
Any suggestions are welcome.
Thanks,
Ajay |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I have tested a few things and cannot find a combination of MIME options that allow z/OS SMTP to transfer an image file successfully. You may have to rethink your approach, or plan on doing many, many tests to get the parameters correct. I can send text files as attachments but images don't seem to work quite the same. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
Please suggest the approach that we can follow. |
review the proposalto send eMails in Html format...
as I said before not everybody is goung to appreciate it...
for example, My email rules are to junk HTML formatted emails...
HTML formatted emails are most often annoyances,
I' ve seldom, better never, seen enterprise operative emails in HTML format
in that format the ratio noise to information is too unfavorable to clear communication |
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
Hi Enrico,
I am using HTML in order to get the color,fonts and other gui features which are found on a non-mainframe/web page. For eg, i want to put background color also in the mail body.
Please suggest if we can do so in mainframe other than using HTML.
Robert: Many thanks for trying out that one for me. But i am not even aware how to transfer an image to mainframe (i have not tried that one till now). Does transferring a gif image in binary mode to a PS file work?
Thanks a lot guys.
-Ajay |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I haven't tried transferring images to MVS files, just to Unix System Services files. GIF and JPEG files transferred in binary mode to USS directories display in web browsers just fine even though they're coming from the mainframe.
And depending upon your mail client, you may or may not be able to get background color in the mail body -- that's not something under your control but under the control of the mail client. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I am using HTML in order to get the color,fonts and other gui features which are found on a non-mainframe/web page. For eg, i want to put background color also in the mail body. |
are You listening to what I am telling You or not ?
it is not a technical issue... it is an organizational issue
investigate what are Your company standards for eMail formats
and after that worry about the technical part |
|
Back to top |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
Quote: |
are You listening to what I am telling You or not ?
it is not a technical issue... it is an organizational issue
|
Enric,
What i am asking is if there is a way to send a formatted mail with colors thru mainframe instead of sending it in HTML format. I got your point it should not be done in HTML format possibly because markup provides an open door to spams and viruses.
Thanks,
Ajay |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
on the PC platform You can usually have the options of sending emails in two formas,
plain text or RTF ( rich text format )
if You want to add color to Your emails maybe the RTF way is the simpler one
I had found some time ago on the net a REXX script to build an RTF formatted document, but it seems to be gone
some times ago I found on the net a rexx script to build a document in RTF format,
I have been just searching but it seems to be gone
my <strong> comments about HTML were concerns for the receiving side
I am pretty sure that a document ( any type ) built on a MF will not have any virus attached
but... just curious, why the requirement to use colors for eMails sent from the MF ??
there are tools to convert from text to RTF - TX2RTF is one,
also for further details on the issue take a look at the XMITIP package fro Lionel Dyck |
|
Back to top |
|
|
|