05-05-2011
attachment in unix mail
Hi,
I am sending an attachment (log file) from unix script using uuencode command.
I am able to receive the attachment but when i view it outlook(2007) the file is not formatted when i view it in notepad ( it opens in notepad when i double click it from my mail message) .
Is there a way where I can format the file so that it is formatted properly or is there an alternative to this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how to attach any file to send in a mail in UNIX (1 Reply)
Discussion started by: arpitk
1 Replies
2. Shell Programming and Scripting
hi,
i have the code as below
#!/bin/sh
MAIL=/usr/bin/Mail
Mail_addr="aaa@bb.com"
Mail_file="/home/delta/dev/aa.doc"
${MAIL} -s " health check" ${Mail_addr} < ${Mail_file} (6 Replies)
Discussion started by: mail2sant
6 Replies
3. UNIX for Dummies Questions & Answers
Issue on sending a mail with attachment using unix script ?
Below is my code and is working fine and there is a issue in the attachment, the attachment file printing as a text-encripted message in the mail draft box instead of putting as a attachment
(cat $msg; uuencode $attach1 in1.txt ;... (2 Replies)
Discussion started by: gksenthilkumar
2 Replies
4. Shell Programming and Scripting
Hi
Could someone help me with the details on how to send an attachment through mail in unix.
I have an html file in my unix machine and I want this to be send to some mail id, plese help with the steps.
Regards
Ajay (2 Replies)
Discussion started by: ajaykumarboyana
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
6. Shell Programming and Scripting
How can I send mail with attachment in HP-UX
I am able to send mail with specific body,but not successful while attaching a file.
I am using the below command however it stuck :
uuencode test.txt |mailx -s "Subject" <e-mail id> (5 Replies)
Discussion started by: gautamadak
5 Replies
7. Shell Programming and Scripting
Hi,
I have the below code for sending email from AIX unix.
I need the body of the mail should content of errornotify.txt file. i tested with cat errornotify.txt, it is not working...Also i need multiple attachments.
Can you please help me out on this.
(
echo "From:cus@xxx.xx.com"
echo... (3 Replies)
Discussion started by: rsivasan
3 Replies
8. Shell Programming and Scripting
how to run a script using cron job and send the output as attachment via e-mail using unix. please help me.
how my cron job entry should be?
As of now my cron job entry is to run the script at specific time,
15 03 * * * /path/sample.sh | mail -s "Logs" email_id
In the above entry, what... (8 Replies)
Discussion started by: vidhyaS
8 Replies
9. Shell Programming and Scripting
Hi All,
Is it possible to send mail in Unix with attachment.
If yes, then how?? (8 Replies)
Discussion started by: parthmittal2007
8 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
In my .ksh script, I am sending an email with body and attachment (.txt) using sendmail command. I am able to receive the attachement along with the body of the mail. But I am getting special characters along with the content in the .txt. Also the alignment is incorrect. Can you please... (7 Replies)
Discussion started by: KRR
7 Replies
LEARN ABOUT OSX
glframebufferrenderbuffer
GLFRAMEBUFFERRENDERB(3G) OpenGL 3.3 GLFRAMEBUFFERRENDERB(3G)
NAME
glFramebufferRenderbuffer - attach a renderbuffer as a logical buffer to the currently bound framebuffer object
C SPECIFICATION
GLsync glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
PARAMETERS
target
Specifies the framebuffer target. target must be GL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFER, or GL_FRAMEBUFFER. GL_FRAMEBUFFER is
equivalent to GL_DRAW_FRAMEBUFFER.
attachment
Specifies the attachment point of the framebuffer.
renderbuffertarget
Specifies the renderbuffer target and must be GL_RENDERBUFFER.
renderbuffer
Specifies the name of an existing renderbuffer object of type renderbuffertarget to attach.
DESCRIPTION
glFramebufferRenderbuffer attaches a renderbuffer as one of the logical buffers of the currently bound framebuffer object. renderbuffer is
the name of the renderbuffer object to attach and must be either zero, or the name of an existing renderbuffer object of type
renderbuffertarget. If renderbuffer is not zero and if glFramebufferRenderbuffer is successful, then the renderbuffer name renderbuffer
will be used as the logical buffer identified by attachment of the framebuffer currently bound to target.
The value of GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE for the specified attachment point is set to GL_RENDERBUFFER and the value of
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME is set to renderbuffer. All other state values of the attachment point specified by attachment are
set to their default values. No change is made to the state of the renderbuuffer object and any previous attachment to the attachment
logical buffer of the framebuffer target is broken.
Calling glFramebufferRenderbuffer with the renderbuffer name zero will detach the image, if any, identified by attachment, in the
framebuffer currently bound to target. All state values of the attachment point specified by attachment in the object bound to target are
set to their default values.
Setting attachment to the value GL_DEPTH_STENCIL_ATTACHMENT is a special case causing both the depth and stencil attachments of the
framebuffer object to be set to renderbuffer, which should have the base internal format GL_DEPTH_STENCIL.
ERRORS
GL_INVALID_ENUM is generated if target is not one of the accepted tokens.
GL_INVALID_ENUM is generated if renderbuffertarget is not GL_RENDERBUFFER.
GL_INVALID_OPERATION is generated if zero is bound to target.
SEE ALSO
glGenFramebuffers(), glBindFramebuffer(), glGenRenderbuffers(), glFramebufferTexture(), glFramebufferTexture1D(), glFramebufferTexture2D(),
glFramebufferTexture3D()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
OpenGL 3.3 03/08/2011 GLFRAMEBUFFERRENDERB(3G)