Powershell for Sending Attachment and Multiple Recipent
Hi there,
How could I invoke powershell to:
1. Send a file or an attachment
2. Send a content to multiple recipient
3. Be invoked by a batch file to execute the param clause
As a part of requirement I need to send out mails with attachment from UNIX. I have to take query the Oracle DB and send the result of the query in an attachment through mail.
I use the following script for the same.
#!/bin/csh
#!/bin/bash
#!/bin/ksh
ATTFILE=/folder1/test.xls
cd... (1 Reply)
Hi,
I want to send an email with multiple attachment using uuencode and mail command.
I am able to send with one attachment
Ex:uuencode abc.txt abc.txt | mail test@test.com -s "Test3"
Can anyone reply with syntax.
Regards
BS (3 Replies)
Hi
I want to able to attach a file to a email and send it with a body
the body of the email is within the "body" file, and the attachment in "atch"
if i send like below it will send the email correctly
/usr/sbin/sendmail me@you.com< body
And when i send the attachment alone... (3 Replies)
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)
The file is located under appl/batchdata/
file name: storesales.txt
I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with same name as an email attachment.
( echo "from: sch@xxxx.com"
echo "to:sch@xxxx.com"
echo... (2 Replies)
Send_Mail()
{
C_Date=`date +"%m/%d/%Y"`
#Subject="MMDB Load Job Status"
for i in `cat $Metafile`
do
if
then
email_address=`echo $i | cut -d":" -f2`
/usr/lib/sendmail "$email_address" < $Email_File
fi
done
}
this is the send mail command i am using .please let me... (1 Reply)
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)
Hello, I am new to the Unix thing, and I am having trouble sending attachments via shell client putty through mailx.
The command I use is
$ mailx -s "Subject" user@blah.com < attachment.txt
but everytime I do that it would say Cannot open attachment.txt
I have the file save to my computer... (5 Replies)
Discussion started by: mrobin20
5 Replies
LEARN ABOUT DEBIAN
net::google::code::issue::search
Net::Google::Code::Issue::Search(3pm) User Contributed Perl Documentation Net::Google::Code::Issue::Search(3pm)NAME
Net::Google::Code::Issue::Search - Issues Search API
DESCRIPTION INTERFACE
search ( can => 'all', q = 'foo', sort => '-modified', limit => 1000, load_after_search => 1 )
do the search, the results is set to $self->results,
which is an arrayref with Net::Google::Code::Issue as element.
If a "sort" argument is specified, that will be passed to google code's issue list. Generally, these are composed of "+" or "-"
followed by a column name.
limit => Num is to limit the results number.
load_after_search => Bool is to state if we should call $issue->load after search
return true if search is successful, false on the other hand.
updated_after( date_string || DateTime object )
find all the issues that have been updated or created after the date. the issues are all loaded.
return true if success, false on the other hand
project
results
this should be called after a successful search. returns issues as a arrayref.
AUTHOR
sunnavy "<sunnavy@bestpractical.com>"
LICENCE AND COPYRIGHT
Copyright 2008-2010 Best Practical Solutions.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-29 Net::Google::Code::Issue::Search(3pm)