Sponsored Content
Top Forums UNIX for Dummies Questions & Answers send email from address list and subject list Post 302209382 by DukeNuke2 on Thursday 26th of June 2008 07:22:21 PM
Old 06-26-2008
this smells like "mass emailing"....?! for spam reasons?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send email where # is in the email address - Using Unix

Hi All, How do I send an email using malix where email address contains a #. I have a email address like this : #test@test.com I want to send email like malix -s "TEST" #test@test.com < SOMEFILE I tried \# but doesn't work. Please let me know how we can achieve this? I am in... (1 Reply)
Discussion started by: jingi1234
1 Replies

2. UNIX Desktop Questions & Answers

Using Mailx to send to list of email addresses

Im trying to use a shell script to send to a list of email addresses in a txt file. Here is what i have tried but it keeps sending to dead.letter... Success.ksh contains... mailx -s"Night Batch Success" 'cat /Scripts/email_addresses.txt' < /Scripts/email_body_message.txt The email body... (1 Reply)
Discussion started by: aguad3
1 Replies

3. Shell Programming and Scripting

ksh - how to list all ip address between 2 ip address

Trying to do a ksh script that needs to list all ip address between ip address a and b .. ie. Ip address A=192.168.1.200 Ip address B=192.168.2.15 So the subnet changes from 1 to 2 but I want to list all possible ip addresses between the 2.. Which would be: 192.168.1.200... (4 Replies)
Discussion started by: frustrated1
4 Replies

4. AIX

how to send a file from aix to a email address?

how to send a file from aix to a email address? such as xxx@yahoo.com? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

5. Shell Programming and Scripting

help with script to send email and if subject line match is found

Help with script that will check log, then find a match is found, add that as the subject line. 1. The script will always run as a deamon.. and scan the event.log file 2. when a new 101 line is added to the event.log file, have the script check position 5,6 and 7 which is the job name, which... (2 Replies)
Discussion started by: axdelg
2 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. UNIX for Dummies Questions & Answers

new to ldap, send email to a ou or group, and see a list from email client

hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version). i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010). a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies

8. Shell Programming and Scripting

List the IP address of list of servers

Hi I have a file containing server names and i can ssh to all these servers without password. Could any body suggest me how to list out IP address of all the servers? Now i am manually doing this, like ssh to each server and run "ifcong -a" command and copy the ipaddress to a excel sheet.... (5 Replies)
Discussion started by: kumar85shiv
5 Replies

9. Shell Programming and Scripting

Sendemail how to send an email with a subject variable

Hi,:) I try this : #!/bin/bash sender="me@example.com" recipient="you@example.com" subject="TEST FILE" server="0.0.0.0" file=$(cat file.txt) /usr/bin/sendemail -f $sender -t $recipient -u $subject -m $file My file.txt: BLABLALA BLABLABLA (7 Replies)
Discussion started by: Arnaudh78
7 Replies
Jifty::Notification(3pm)				User Contributed Perl Documentation				  Jifty::Notification(3pm)

NAME
Jifty::Notification - Send emails from Jifty USAGE
It is recommended that you subclass Jifty::Notification and override "body", "html_body", "subject", "recipients", and "from" for each message. (You may want a base class to provide "from", "preface" and "footer" for example.) This lets you keep all of your notifications in the same place. However, if you really want to make a notification type in code without subclassing, you can create a "Jifty::Notification" and call the "set_body", "set_subject", and so on methods on it. METHODS
new [KEY1 => VAL1, ...] Creates a new Jifty::Notification. Any keyword args given are used to call set accessors of the same name. Then it calls "setup". setup Your subclass should override this to set the various field values. send_one_message Delivers the notification, using the Email::Send mailer defined in the "Mailer" and "MailerArgs" configuration arguments. Returns true if mail was actually sent. Note errors are not the only cause of mail not being sent -- for example, the recipients list could be empty. If you wish to send HTML mail, set "html_body". If this is not set (for backwards compatibility) a plain-text email is sent. If "html_body" and "body" are both set, a multipart mail is sent. See Email::MIME::CreateHTML for how this is done. Be aware that if you haven't set "recipients", this will fail silently and return without doing anything useful. set_headers MESSAGE Takes a Email::MIME object "MESSAGE", and modifies it as necessary before sending it out. As the method name implies, this is usually used to add or modify headers. By default, does nothing; this method is meant to be overridden. body [BODY] Gets or sets the body of the notification, as a string. subject [SUBJECT] Gets or sets the subject of the notification, as a string. from [FROM] Gets or sets the from address of the notification, as a string. recipients [RECIPIENT, ...] Gets or sets the addresses of the recipients of the notification, as a list of strings (not a reference). email_from OBJECT Returns the email address from the given object. This defaults to calling an 'email' method on the object. This method will be called by "send" to get email addresses (for "to") out of the list of "recipients". to_list [OBJECT, OBJECT...] Gets or sets the list of objects that the message will be sent to. Each one is sent a separate copy of the email. If passed no parameters, returns the objects that have been set. This also suppresses duplicates. send Sends an individual email to every user in "to_list"; it does this by setting "to" and "recipient" to the first user in "to_list" calling Jifty::Notification's "send" method, and progressing down the list. Additionally, if "to" was set elsewhere, sends an email to that person, as well. to Of the list of users that "to" provided, returns the one which mail is currently being sent to. This is set by the "send" method, such that it is available to all of the methods that Jifty::Notification's "send" method calls. preface Print a header for the message. You want to override this to print a message. Returns the message as a scalar. footer Print a footer for the message. You want to override this to print a message. Returns the message as a scalar. full_body The main, plain-text part of the message. This is the preface, body, and footer joined by newlines. full_html Same as full_body, but with HTML. parts The parts of the message. You want to override this if you want to send multi-part mail. By default, this method returns a single part consisting of the result of calling "$self->full_body". Returns the parts as an array reference. magic_letme_token_for PATH Returns a Jifty::LetMe token which allows the current user to access a path on the site. perl v5.14.2 2011-01-26 Jifty::Notification(3pm)
All times are GMT -4. The time now is 07:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy