Sending HTML attachment through mail


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Sending HTML attachment through mail
Prev   Next
# 3  
Old 07-15-2008
Bug

Hi
Thanks for responding.
I am not getting the attachment,instead its appearing in the message body itself.Its coming like this:

begin 644 /tmp/scripthtml
- Hide quoted text -
M"CPA1$]#5%E012!(5$U,(%!50DQ)0R B+2\O5S-#+R]$5$0@2%1-3" T+C @
M5%)!3E-)5$E/3D%,+R]%3B(^( H)/$A434P@3$%.1STB14XB/CQ(14%$/CQ4
M251,13Y%>&-E<'1I;VX@4W1A='5S/"]4251,13X\+TA%040^"CQ"3T19(&%L
M:6YK/2(C,# V-F9F(B!B9V-O;&]R/2(C,# P,# P(B!L:6YK/2(C,# P,&9F
M(B!T97AT/2(C8V-D9&5E(B!V;&EN:STB(S P,S-F9B(^"CQ#14Y415(^/$@Q
M/@I$35-E<G9E<@H\+T@Q/D=E;F5R871E9"!O;B!$35-E<G9E<B!!<'!L:6-A
M=&EO;CPO0T5.5$52/@H*/%1!0DQ%(%=)1%1(/3$P,"4@0D]21$52/3(@0D]2
M1$520T],3U(](B,P,# P.# B($-%3$Q0041$24Y'/30@0T5,3%-004-)3D<]
M,CX*(" @(" \5%(@5D%,24=./51/4#X*(" @(" \5$0@5TE$5$@]-S4E($)'
M0T],3U(](B,P,#DY9F8B/@H@(" @5&]T86P@;G5M8F5R(&]F($5X8V5P=&EO
M;G,@:6X@9&TM;W)I9VEN+G1X= H@(" @(#PO5$0^"B @(" \5$0@5TE$5$@]
M,C4E($)'0T],3U(](B,P,#DY9F8B/@H@(" @(# *(" @(#PO5$0^"B @(#PO
M5%(^"B @(#Q44B!604Q)1TX]5$]0/@H@(" @(#Q41"!724142#TW-24@0D=#
M3TQ/4CTB(S P.3EF9B(^"B @("!4;W1A;"!N=6UB97(@;V8@17)R;W)S(&EN
M(&1M+6]R:6=I;BYT>'0*(" @(" \+U1$/@H@(" @/%1$(%=)1%1(/3(U)2!"
M1T-/3$]2/2(C,# Y.69F(CX*(" @(" P"B @(" \+U1$/@H@(" \+U12/@H@
=(#PO5$%"3$4^"@H*/"]"3T19/@H\+TA434P^"@H\

Regards
-S
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. How to Post in the The UNIX and Linux Forums

Sending a mail with different attachment in AIX

How to Send a mail with multiple attachment also differenet extension using uuencode in AIX. Can you please help me. Its so urgent. Thanks. Regards, Swapnil ---------- Post updated at 05:37 AM ---------- Previous update was at 05:35 AM ---------- I have below code. But attachment... (1 Reply)
Discussion started by: Swapnil Mawle
1 Replies

2. Shell Programming and Scripting

HTML mail with Attachment

Hi, I am using the below code: #!/bin/ksh SUBJ="Send mail from Unix with file attachments" TO=sudha.viswanathan@jpmorgan.com CC=sudha.viswanathan@jpmorgan.com ( cat << ! To : ${TO} Subject : ${SUBJ} Cc : ${CC} ! cat << ! MIME-Version: 1.0 Content-Type: text/html `cat... (1 Reply)
Discussion started by: sudvishw
1 Replies

3. Shell Programming and Scripting

Need help in sending html mail with attachment

Hi Everyone, I am facing problems in sending html mail with attachemnt. I will able to send mail with attachment (plain text ) using mailx -s and uuencode command and also html mail without attachment using sendmail option. However I am not able to send html mail along with attachment.Either... (2 Replies)
Discussion started by: karthik adiga
2 Replies

4. UNIX for Advanced & Expert Users

Sending mail with attachment

Hi, I am using Sun solaris OS unix server I am trying to send mail with an attachment using below script cat test.txt;uuencode test.txt test.txt|mailx -s "$subject" someone@somewhere I m getting mails but with no attachment. Hence i manipulate the script as below and i am... (2 Replies)
Discussion started by: sv0081493
2 Replies

5. Shell Programming and Scripting

Sending a csv attachment and html text together.

Hello, I need to send below text (in a file ABC)as html text in mail body and the same as csv attachment 1,2,3 4,5,6 7,8,9 but to send as html text in mailbody we use echo "Subject: Report " | cat - ABC | /usr/lib/sendmail -t a@xyz.com and to send as an attachment in csv format we... (9 Replies)
Discussion started by: skhichi
9 Replies

6. UNIX for Dummies Questions & Answers

Sending html email with html attachment

Hello, I have a script which is sending an html file as an attachment. #!/usr/bin/ksh export MAILTO="user@company.com" export CONTENT="/usr/tmp/file.html" export SUBJECT="EmailSubject" ( echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo... (0 Replies)
Discussion started by: sreenathkg
0 Replies

7. 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

8. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

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

9. UNIX for Dummies Questions & Answers

Sending attachment thru a mail

Is there any way we can send file attachemnts through mails from a unix server. Does the 'mail' command have such an option ?? (1 Reply)
Discussion started by: Rohini Vijay
1 Replies

10. UNIX for Dummies Questions & Answers

Error when sending mail attachment

I have been sending an email attachment from my unix box, but keep getting an error? All though the recipient still receives the email and attachment. Will this error cause problems in the future and how to I cure it? $ uuencode PReSvPRINTER.txt file | mailx -s "File" me@world.com uuencode:... (1 Reply)
Discussion started by: dbrundrett
1 Replies
Login or Register to Ask a Question
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)