I'm having trouble using MIME's multipart/mixed content type. I just try to send an email with a common body text together with an attachment (.gif). The only output I get is an empty email with no text and an invalid attachment (MS Outlook says it doesn't recognize the attachment type). Both text body and attachment show up when sent separately (i.e. not using muiltipart/mixed) which should prove my encoding is correct.
Here is the code:
Now I just wonder if anybody on this forum could easily identify the error (if there is one ). I´ve searched for hours on the internet and found some examples but it mostly tended to say my above code was correct...
Many thanks,
Yann
PS: I first searched for an answer in the FAQ and found a topic. However I didn't feel more clever having read it
Last edited by Indalecio; 09-25-2006 at 09:42 AM..
it must be late because I'm sure this is an easy task with grep sed or awk
string would be anything mixing numbers letters and ) ( =
output I need is just the numbers... but I just can't seem to get it to work.
Any tips would be great :) (10 Replies)
Searched all over can't figure out how to compare variables of alpha and numeric characters.
Example a script that ask user to enter a password and then ask to repeat the password. (6 Replies)
Hello.
I need to send mails from hp-ux with 2 attachments: a text file and an excel file. So I'm composing a mime file which I will pipe to sendmail utility.
This works fine if the only attachment is the text file (i use cat command to attach text content). But I have problems with the format... (3 Replies)
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
Code:
/usr/local/bin/curl -v... (1 Reply)
I need to grep out patterns that matches the following.
1SR2kW-0003XW-8L
Ie a pattern that contain 16 characters and will always be in the same pattern. 6 character, then a -, then 6 character, then a - then 2 character.
I need a way to grep out like we grep out IP address. Here there are... (4 Replies)
Hi! All
I am just wondering solution to use FS if file fields are separated by whitespace (one or more spaces ), tab and comma, How to use FS ?
finally I want to print all columns as tab separated
look at my file here tagged
130, US 121337 30.530 -58.900 1941 1 25 19.50 ... (5 Replies)
Hi All,
I am trying to post an xml file (utf-16 encoded) using curl to a REST service. The REST service is expecting 'multipart/form-data' content type.
curl -k -i -H "Content-Type=multipart/form-data" -F "filename=@file.xml;type=text/xml" -X POST -u <username>:<password> <endPointURL>
... (0 Replies)
Greetings!
Here's one which has been bugging me for a bit ;)
As might be known, LibreOffice is available to some of us Linux folk as a large set of debs. Of course, being a curious sort, I'd like to dig in and recreate the original tree which is composed of these assorted archives.
So, I... (1 Reply)
Hi,
I have requirment in shell script to incorporate multipart email with both html and text.
Here am giving the text version.
From: any@email.com
To: your@email.com
Subject: Success Execution - $company - Apps PO File Report
Apps PO File Report
Summary:
#APPS Purchase... (2 Replies)
Discussion started by: kirankumar
2 Replies
LEARN ABOUT DEBIAN
mojomojo::controller::attachment
MojoMojo::Controller::Attachment(3pm) User Contributed Perl Documentation MojoMojo::Controller::Attachment(3pm)NAME
MojoMojo::Controller::Attachment - Attachment controller
DESCRIPTION
MojoMojo supports attaching files to nodes. This controller handles administration and serving of these assets.
ACTIONS
auth
Return whether the current user has attachment manipulation rights (upload/delete).
unauthorized
Private action to return a 403 with an explanatory template.
default
Private action to return a 404 not found page.
attachments
Main attachment screen. Handles uploading of new attachments.
list
Display the list of attachments if the user has view permissions.
template: attachments/list.tt
plain_upload
Upload feature that uses the traditional upload technique.
check_file
Check if the file(s) uploaded could be added to the Attachment table.
flash_upload
Upload feature that uses flash
attachment
Find and stash an attachment.
defaultaction
Set the default action for an attachment which is forwarding to a view.
view
Render the attachment in the browser ("Content-Disposition: inline"), with caching for 1 day.
download
Forwards to "view" then forces the attachment to be downloaded ("Content-Disposition: attachment") and disables caching.
thumb
Thumb action for attachments. Makes 100x100px thumbnails.
inline
Show 800x600 inline versions of photo attachments.
delete
Delete the attachment from this node. Will leave the original file on the file system but delete its thumbnail and inline versions.
AUTHOR
Marcus Ramberg "marcus@nordaaker.com"
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2010-05-23 MojoMojo::Controller::Attachment(3pm)