Programming :: Mail Attachment Using The Perl?

Feb 28, 2010

My script collects information and writes it to a xls file and should mail it across. I tested the first part of the script which writes the excel file , it does write the excel file fairly with expected data using Spreadsheet::WriteExcel module Second part uses MIME::Lite , All I get is a mail with intended subject intact but without the attachment . Following is the code , I have googled and tried out many options , didn't go any further apart from receiving a mail without attachment.

use MIME::Lite;
$msg = MIME::Lite->new(
From => 'xx',
To => 'xx',

[code]...

I am using RHEL 4 , Perl 5.8

View 5 Replies


ADVERTISEMENT

Programming :: Perl - Save An E-mail Attachment On Disk Keeping The "&" Character - No "%26"

Feb 25, 2010

I'm working on a Perl script that handles e-mails and attachments using MIME::Tools.

This script saves the attachments on filesystem, but whenever it finds an "&" (ampersand) into the filename (the filename is given by the "path" method of the "MIME::Body" class), it is changed into "%26" and then stored on disk.

To make an example, if an attachment is named "You & me.pdf", it is saved on disk as "You %26 me.pdf".

I also tried to change that char with a regexp and setting again the path passing the new (and working) value as a parameter to the "path" method, and if I print the value it is right, but on the filesystem is *always* stored with the "%26" string.

View 5 Replies View Related

Server :: Send Mail From Unix Mail Command To Yahoo-id With Attachment?

Feb 15, 2010

i want to send mail from unix mail command to my yahoo-id with attachment, but i want to receive it as attachment.

View 1 Replies View Related

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

Jun 8, 2011

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.

View 3 Replies View Related

Programming :: Sending Mail To Mailing-lists In Perl?

Jan 25, 2011

Im creating a perl script that will be sending out mail to mailing-lists, but im not getting it to work. Its no problem getting the script to send mail to regular mail addresses, but it doesnt seem to handle to send mail to mailing lists. Im using the Net::SMTP perl module.how to send mail from a perl script to a mailing list (and not just regular mail addresses) ?

View 2 Replies View Related

General :: Can Attachment Sends Through Mail Command

Nov 3, 2010

how can attachment sends through mail command in linux with mail command either with mail -s or -v option also please confirm how to download the attachments from it . and how one should knows with mail command that attachment is present with the particular mail

View 4 Replies View Related

Server :: Unable To Forward A Mail With Attachment?

Feb 26, 2011

im unable to forward a mail with attachment my problem is as below cat /root/data|mail -s "subject" [URL] its not forwarding mail and not throwing any error my attached file is more than 100MB ,will any one me with correct syntax how much length of file can be attached maximum i also tried like this mail -s "subject" [URL] < /root/data its also not working

View 2 Replies View Related

Server :: Web Mail Show Attachment As Winmail.dat?

Aug 2, 2010

user can not see the correct file attachment in web mail which showed "winmail.dat" but works fine after downloaded to outlook. and the email is sent from microsoft outlook in "HTML" format(not RTF format). Any one could give me a solution figure it out, because there is quite a lot of user in my company have to use web mail and got this winmail.dat problem

View 1 Replies View Related

General :: Extract/save A Mail Attachment Using Bash?

Sep 10, 2010

Using normal bash tools (ie, built-ins or commonly-available command-line tools), is it possible, and how to extract/save attachments on emails?

For example, say I have a nightly report which arrives via email but is a zip archive of several log files. I want to save all those zips into a backup directory. How would I accomplish that?

View 3 Replies View Related

Software :: Mail Processing - Converting Attachment File Names

Oct 22, 2010

I'm running a blog on posterous. Some friends of me post messages there via mail, mostly with some PDF attachments. These PDFs are generated mostly on a MAC with Word. The standard extension of these files is foobar.doc.pdf. Unfortunately, Posterous ignores attachments with the extension .doc.pdf.

So, I'm looking for some workaround. For example, I could my web server with some script, which receives these mails, converts the filenames of the attachment in some way and posts the result to my posterous blog. Therefore I'm looking for some mail processing scripts, which enable me to do so.

View 2 Replies View Related

Red Hat :: Discard Outgoing Mail In Postfix That Have Some Specific Content In Attachment?

Jul 30, 2010

Working in a SW company. guys transfer their codes through email outside the company. mailserver running on postfix. Is there any method to filter mails according to contents of attachment not by file extension.

View 3 Replies View Related

General :: Delete Attachment I Received While Keeping Rest Of Body Of That Mail?

Aug 18, 2010

I have ubuntu 10.04 on my HP Compaq laptop, and use evolution mail. Is there a way to delete an attachment I received, while keeping the rest of the body of that mail?

View 4 Replies View Related

Server :: Send A Mail From Blackberry Device With A JPEG Attachment, And Have It Forwarded As A Fax To The Recipient Fax Machine?

Apr 25, 2010

I managed to get my hylafax server nice and going, I also setup up AvantFax and Faxy to reach it from the web..What I still want to do it to send a mail from my blackberry device with a JPEG attachment, and have it forwarded as a FAX to the recipient fax machine...

I read and saw a few documentation here and there, but it is very confusing for me...

courier-faxmail seemed nice, but it conflicts with Hylafax..

Hylafax help support is unclear to me...

I'm not sure jpg attachments from blackberry are "standard" jpg, and, I have no idea how to forward this as a fax...

For what I understood, I need to have a running mail agent on my server, and a script to forward this to hylafax..

View 2 Replies View Related

Software :: Convert Email Files With Attachment To Save As Attachment File?

Apr 7, 2011

I finally got E-mails fetched downloaded to local disk, now a further thing that I would like to do is to rip off the attachments to save as its original file name and extension.A E-mail like this for example:

Code:

From root Thu Apr 7 17:21:34 2011
Delivered-To: ted_chou12@tedchou12.cz.cc
Received: from pop.gmail.com [74.125.155.109]

[code]...

View 2 Replies View Related

Software :: Spam / Virus Block - Unblock Email With Attachment .zip Should Be All Attachment Through To Email?

Jul 5, 2011

how to unblock email with attachment .zip should be all attachment through to my email i have below message when people sent me email to my domain

Warning: This message has had one or more attachments removed
Warning: (the entire message).
Warning: Please read the "Apex-Attachment-Warning.txt" attachment(s) for more information.

This is a message from the MailScanner E-Mail Virus Protection Service The original e-mail message contained potentially dangerous content, which has been removed for your safety. The content is dangerous as it is often used to spread viruses or to gain personal or confidential information from you, such as passwords or credit card numbers.

View 9 Replies View Related

Ubuntu :: Locating Mail - Perl Script For FetchYahoo?

Jun 18, 2010

New Ubuntu user here switched from Windows to Linux. I finally was able to install a program that allowed me to forward my pop3 to Evolution mail so that I have easy access to my emails. However, once I ran the Perl script for fetchyahoo, it asked me what the path was on the system for my mail spool or mailbox. Where exactly is my spool or mailbox for Evolution so that I can get my Yahoo! mail into the client? I have the free version of Yahoo, so I am trying to use fetchyahoo in the hopes that I can circumvent Yahoo's no-pop policy for free users. Found a mail location that I was able to get Evolution's mail client to look for emails in. Still having nightmares getting fetchyahoo to run properly, however. This is a mildly infuriating process.

View 2 Replies View Related

Programming :: Basic PHP Mail Function \ Say 'and If 'email' Is Not Equal To 0 Then Send The Mail?

Sep 9, 2010

this is my code at the moment

PHP Code: <?php
if (isset($_REQUEST['email'])) && $_REQUEST['email']!='0'{
$to = "chrisathisemail";

[code]....

View 5 Replies View Related

Programming :: Use Javamail For A Project To Send Mail Rather Than Using 'mail' Or 'mailx'

Nov 30, 2010

Was told that I need to use Javamail for a project to send mail rather than using "mail" or "mailx". Has anyone here done this?Any pointers or sites you've used and can recommend?

View 1 Replies View Related

OpenSUSE Network :: Mail Server Configuration - Postfix To Send Incoming Emails To A Php Script Or Perl

Aug 13, 2010

I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:

mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp

So now my system is receiving MX content but i dont know what to do.

View 9 Replies View Related

Programming :: Socket Programming In Module Perl

Jul 21, 2010

Where is the perl module for programming with sockets?

View 4 Replies View Related

Programming :: Cannot Install Perl / Tk

May 9, 2010

I just downloaded Tk-804.028 and try to install it (according to the README.linux) but I get:

> perl Makefile.PL
/opt/ActivePerl-5.10/bin/perl-static is installed in /opt/ActivePerl-5.10/lib okay
PPM for perl5.010001
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c

[code]...

View 5 Replies View Related

Programming :: Perl Tutorial To Use?

May 18, 2011

Any recommendations on what Perl tutorial to use?

View 1 Replies View Related

Programming :: Converting MB/TB To GB In Perl?

Jan 30, 2010

I am taking an input from the user for free and Used capacity in a disk. I wish to convert Input entered in MBTB to GB and this is how i am doing it.

Code:

<some code>
print "Enter Total disk space";
$tot = <STDIN>;
convert($tot);

[code]...

how do i pass the value of conv[0] after conversion back to $tot or $use such that they contain only value which is in GB?

View 3 Replies View Related

Programming :: How To Get Perl Qt4 Working

Jul 24, 2010

I really would like Perl Qt4 bindings. The best I could find is this:[URL]The problem is that the sources would not compile, and the RPMs are for 32-bit machines.Is there really no such thing as good Perl Qt4 bindings?

View 8 Replies View Related

Programming :: MP3 - Tag And Perl Script

Mar 27, 2011

I am a newbie on linux and just searching everything about perl scripting and modules nearly 3-4 days. I need a perl script but one of not easy to find on searching google. Okay now I need a perl script which create or recreate (edit) id3 tags (artist, comment, album, year, cover) of mp3 files stored on my linux centos server. I installed MP3::Tag version 1.13 pearl module to my server. I Searched tutorials about how to use it, finally I get through reading id3 tag of mp3 file but not achieve to modify it or create a new id3tag.

These are the details:
I have a mp3 file called 1.mp3 this script will process that '1.mp3' file read its id3tag if there is one, than modify or create id3tag for it by my fix artist name for example:
'1.mp3' files id3 tag details are like this
Artist: Dj xx
Year:2010
Title:yyyyy
Comment:eerwer
Cover: x.jpg

Now via this perl script which uses MP3::TAG I will change it's
artist as YYY
Title:ttt
Comment:cool
Cover:t.jpg
these are gonna be my fixed values. I mean all '1.mp3' file will have same artist based on script value.

The reason of this script is I will share Dj podcasts on my server and Dj's would have upload their mp3's which has got different id3 tags and cover pics. etc. I want to create more organized podcasts of them by the way I would trigger this perl script via Cronjob.

View 14 Replies View Related

Programming :: How To Generate MD5 / Sha-1 With Perl

Mar 31, 2010

How can I generate a md5 or sha-1 code with perl?

View 2 Replies View Related

Programming :: Perl - Interpreter For Fib Numbers

Apr 1, 2010

As some of you know that I am new to this forum. I have another problem that I got stuck on. I have this file called "Fib.rbb" and my instructor told us to write an interpreter program by using Fib.rbb.

"You are to write an interpreter in Perl for Rongs Basic Basic (RBB) as explained in class. The BNF description for RBB and a test file called Fib.rbb are part of the RBB.zip file which is available in the Course Documents folder on blackboard. If you call your interpreter myIntp.pl, you would execute the program via perl myIntp.pl Fib.rbb

Code: Print "A few Fibonacci numbers:"

View 3 Replies View Related

Programming :: Unable To Find The Perl

Mar 9, 2011

Just installed Fedora 14. I wanted to try "Hello World" with perl. But where is it?

Code: [user]@user bin]$ ls

View 1 Replies View Related

Programming :: Perl From USB Pen To Run On Both Linux And Windows

May 23, 2011

Im somewhat new at perl and was wondering if there was a way to run a perl script or tool made from perl, from a USB pen that would work both on Linux and on Windows?

View 1 Replies View Related

Programming :: 404 Not Found With Perl/cgi Script

Jan 16, 2010

I writed my home.html page in /var/www with following form:

Quote:

<form action="/cgi-bin/login.cgi" method="get" class="form-font">
<label>Already you registered?</label><br/><hr/><br/>
<fieldset><br/>
<legend>Insert your account</legend>
Email: <input type="text" name="email"/><br/><br/>

[Code].....

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved