Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Html output with awk/sendmail Post 303035608 by Big-J on Wednesday 29th of May 2019 09:25:33 AM
Old 05-29-2019
Thank you RudiC! Got all 3 of my concerns fixed. Figured out the subject and header removal, rookie mistakes on my part. Your piece got the color changing i was looking for!!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk script to search an html file and output links

hello. i want to make an awk script to search an html file and output all the links (e.g .html, .htm, .jpg, .doc, .pdf, etc..) inside it. also, i want the links that will be output to be split into 3 groups (separated by an empty line), the first group with links to other webpages (.html .htm etc),... (8 Replies)
Discussion started by: kyris
8 Replies

2. Shell Programming and Scripting

Sendmail with html attachment and html body

Hi folks, I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script. Thanks in advance (1 Reply)
Discussion started by: sol_nov
1 Replies

3. Shell Programming and Scripting

Problem in sending inline html with an attachment using sendmail

MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=border --border Content-Type: text/html Content-Disposition: inline <html><body><h2>This text should be displayed with html formatting</h2></body></html> --border Content-Type: text/plain Content-Disposition: attachment This text... (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

4. Shell Programming and Scripting

Sendmail with HTML body and attachment

I have an HTML file I am currently sending in the body of an email. I now have a need to send a csv attachment along with it. I can ONLY use sendmail as mutt and xmail etc are not on the server. Here is what I am currently using: It is possible to add code to add an attachment ??!? { ... (8 Replies)
Discussion started by: atelford
8 Replies

5. UNIX for Dummies Questions & Answers

Send HTML graph using sendmail

Hi all. Urgent help required. I am trying to send and HTML/PNG fromat graph from UNIX using sendmail. The graph needs to be in the body of the HTML email and NOT an attachment.:wall: Any ideas and help will be really appreciated. Best regards, Willz (6 Replies)
Discussion started by: Willz
6 Replies

6. Shell Programming and Scripting

problem with sending mail from txt file having HTML code via sendmail -t

Hi, i have the following code in shell named as test3.sh.. #!/bin/sh . /home/<user>/.profile export dt=`date "+%d%b%y"` export tim=`date "+%d%b%y %HM:%MM"` cd export WD=`pwd` SID="<sid>" export SID export ORACLE_SID=$SID export ORACLE_HOME=/oracle/$SID/102_64 export... (4 Replies)
Discussion started by: jassi10781
4 Replies

7. Shell Programming and Scripting

Sendmail with header and footer logo in HTML body

Hello, I need help with my script that will send email via sendmail command that will shows both the header and footer logo once the recepient receive the email (e.g. MS Outlook). When I tested to ran the script it will successfully send the email BUT UNFORTUNATELY it doesn't displayed the... (8 Replies)
Discussion started by: lawrence88
8 Replies

8. Shell Programming and Scripting

Email body not formatted with html and sendmail

Hi All, I am trying to send the contents of a file as email body. I am using html email and sendmail option of unix. I am using the below piece of code for the same : #!/usr/bin/ksh export MAILTO="email@domain.com" export SUBJECT="Report" export BODY="file_directory_path/test_file.txt"... (1 Reply)
Discussion started by: rockygsd
1 Replies

9. UNIX for Dummies Questions & Answers

Sendmail with HTML body and attachment code issues

Hi, I was working on getting an HTML file in the mail body along with attaching a "csv" file to the mail. Below are the 2 parts of the code. I need help with the second part where I'm sending the mail. The HTML file as an attachment is perfect without any issues and with proper formatting.... (6 Replies)
Discussion started by: aster007
6 Replies

10. Shell Programming and Scripting

Sendmail cmd for html body and attachment not working

Hi, I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well) The below code is perfectly working for sending the html body alone: export MAILTO=abc@xyz.com export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies
Subject(3I)						    InterViews Reference Manual 					       Subject(3I)

NAME
Subject - object with views SYNOPSIS
#include <InterViews/subject.h> DESCRIPTION
A subject is an object that has one or more views that it wishes to notify when it changes. The SubjectIteractor class can be used if it is necessary to iterate through the views of a subject explicitly. Because subjects are shared, Subject is a subclass of Resource. To allow for the possibility of multiple inheritance, in which case only a single copy of resource information should be maintained, Resource is a virtual base class. PUBLIC OPERATIONS
enum UpdateHint { attaching, detaching, setting, changing } This type enumerates possible hints when a subject is notifying a view that it has changed. The attaching hint indicates that a view has attached to the subject. The detaching hint means that the subject is being deleted and the view should consider itself detached. The setting hint means that the subject's value has been set, though possibly to the same value as it already has. The changing hint means that the value is set to something different than it was previously. virtual void attach(View*) Add a view to the subject's list. virtual void detach(View*) Remove a view from the subject's list. virtual void notify(UpdateHint = changing) Notify all the views of a subject that it has been updated. virtual boolean viewed_by(View*) Return whether a given view is on the subject's list of views. virtual void Attach(Interactor*) This function is equivalent to attach and is provided solely for backward compatibility. It will be removed in a future version. virtual void Detach(Interactor*) This function is equivalent to detach and is provided solely for backward compatibility. It will be removed in a future version. virtual void Notify() This function is equivalent to notify(changing) and is provided solely for backward compatibility. It will be removed in a future version. boolean IsView(Interactor*) This function is equivalent to viewed_by and is provided solely for backward compatibility. It will be removed in a future version. SUBJECTITERATOR OPERATIONS
A subject iterator can be used to iterate through the views in a subject. SubjectIterator(Subject*) Create a subject iterator for the given subject. The iterator is only valid as long as the subject exists. virtual void init() Reset the iteration to start at the beginning of the list. This operation is called by the constructor. virtual boolean more() Return whether there are more views in the list. virtual View* cur() Return the current view. virtual void remove() Remove the current view from the list. virtual void next() Move the iteration to the next view in the list. SEE ALSO
View(3I) InterViews 29 June 1989 Subject(3I)
All times are GMT -4. The time now is 08:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy