12-20-2002
Edog,
Perderabo, I believe has a script that is will allow attachments. The search tool seems to be broken when specifying a user name.
Here is the link. I had it saved in my favorites.
https://www.unix.com/showthread.php?s...ion+for+HPUnix
This will work for 1 attachment. but you can probably zip or use some other way the files you wish to mail.
10 More Discussions You Might Find Interesting
1. How do I send email?
how can you send multiple attachments in 1 email, usually I just use uuencode to send 1 attachment.
thanks (5 Replies)
Discussion started by: edog
5 Replies
2. Shell Programming and Scripting
Hi people, I am new to this forums. I have a quick question I hope one of you could help me with. I am writing a script to send attachments via email. However I am having trouble when trying to send multiple attachments. Here is the code I am using:
send_mail()
{
uuencode $TMP $TMP1 > $TMP1... (1 Reply)
Discussion started by: deo2k8
1 Replies
3. Shell Programming and Scripting
Hi,
I have to send email from UNIX with multiple excel attachments and the sender name needs to be customized (sender name need not to be UNIX user).
I have checked many ways from this forum and other sources. But, nothing did work for me.
Please help me!
thanks,
Raja. (1 Reply)
Discussion started by: smr_rashmy
1 Replies
4. Shell Programming and Scripting
Hello Everyone,
I'm trying to write ascript on AIX 5.3, that will e-mail all filles within a directory. But on executing a script , it sends only 1 file from the directory alongwith some Junk data.
I have searched whole forum and almost used all the suggestions, but still getting same problem.... (4 Replies)
Discussion started by: Gem_In_I
4 Replies
5. Shell Programming and Scripting
Hi everyone...
I am facing problem with the multiple mail attachments.
cd /work/mohan/pi_log/
mail_file='uuencode ahmedabad.csv ahmedabad.csv ; uuencode ahmedabad_devrpt_20110530.csv ahmedabad_devrpt_20110530.csv'
( $mail_file ) | mailx -m -s"test" domain@website.com
its giving me error... (1 Reply)
Discussion started by: mohanm
1 Replies
6. Shell Programming and Scripting
I have created a shell scripts and wanted to email users multiple attachments using mailx. I noticed that when I do a man on mailx I see and -a option for attachments. When I run a:
mailx -s "test attachments" -a include_file -a exclude_file testuser@mydomain.com
(Interrupt -- one more to... (1 Reply)
Discussion started by: metallica1973
1 Replies
7. Shell Programming and Scripting
Hello ,
I am trying to send an email with two attachments . I have tried all previous suggestion in this forum but none worked. I could send one attachment in an email by
uuencode $file "$file" | mailx -m -s "File" xxx@xx.com
but unable to send multiple attachments .
I have tried
... (8 Replies)
Discussion started by: RaviTej
8 Replies
8. Shell Programming and Scripting
I am trying to attach multiple files using mutt command, and all file names to be attached are taken from a flat file. and mutt command is called from a bash script when :
1. Script execution is completed.
2. Script execution is interrupted for some reason.
... (8 Replies)
Discussion started by: Shaishav Shah
8 Replies
9. Red Hat
We don't have uuencode installed in our machines..... Please tell me how to send mail with multiple attachments ??? URGENT !!!!!
Please tell me using command line (or) scripts..........
please......
Thanks in Advance.... (1 Reply)
Discussion started by: vamshigvk475
1 Replies
10. HP-UX
HP-UX mbhp7640 B.11.31 U ia64 4294967295 unlimited-user license
Our database builds a MIME compliant html email, then cats that to sendmail - no problem.
Due to horrible issues with the native uuencode, we long ago began using uuenview to encode our attachments - no problem. An example is... (1 Reply)
Discussion started by: bubba77
1 Replies
LEARN ABOUT PHP
bbcode_create
BBCODE_CREATE(3) 1 BBCODE_CREATE(3)
bbcode_create - Create a BBCode Resource
SYNOPSIS
resource bbcode_create ([array $bbcode_initial_tags = NULL])
DESCRIPTION
This function returns a new BBCode Resource used to parse BBCode strings.
PARAMETERS
o $bbcode_initial_tags
- An associative array containing the tag names as keys and parameters required to correctly parse BBCode as their value. The fol-
lowing key/value pairs are supported:
o$flags optional - a flag set based on the BBCODE_FLAGS_* constants.
o$type required - an int indicating the type of tag. Use the BBCODE_TYPE_* constants.
o$open_tag required - the HTML replacement string for the open tag.
o$close_tag required - the HTML replacement string for the close tag.
o$default_arg optional - use this value as the default argument if none is provided and tag_type is of type OPTARG.
o$content_handling optional - Gives the callback used for modification of the content. Object Oriented Notation supported
only since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$param_handling optional - Gives the callback used for modification of the argument. Object Oriented Notation supported only
since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$childs optional - List of accepted children for the tag. The format of the list is a comma separated string. If the list
starts with ! it will be the list of rejected children for the tag.
o$parent optional - List of accepted parents for the tag. The format of the list is a comma separated string.
RETURN VALUES
Returns a BBCode_Container
EXAMPLES
Example #1
bbcode_create(3) example
<?php
$arrayBBCode=array(
''=> array('type'=>BBCODE_TYPE_ROOT, 'childs'=>'!i'),
'i'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<i>',
'close_tag'=>'</i>', 'childs'=>'b'),
'url'=> array('type'=>BBCODE_TYPE_OPTARG,
'open_tag'=>'<a href="{PARAM}">', 'close_tag'=>'</a>',
'default_arg'=>'{CONTENT}',
'childs'=>'b,i'),
'img'=> array('type'=>BBCODE_TYPE_NOARG,
'open_tag'=>'<img src="', 'close_tag'=>'" />',
'childs'=>''),
'b'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<b>',
'close_tag'=>'</b>'),
);
$text=<<<EOF
[b]Bold Text[/b]
[i]Italic Text[/i]
[url]http://www.php.net/[/url]
[url=http://pecl.php.net/][b]Content Text[/b][/url]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[url=http://www.php.net/]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[/url]
EOF;
$BBHandler=bbcode_create($arrayBBCode);
echo bbcode_parse($BBHandler,$text);
?>
The above example will output:
<b>Bold Text</b>
[i]Italic Text[/i]
<a href="http://www.php.net/">http://www.php.net/</a>
<a href="http://pecl.php.net/"><b>Content Text</b></a>
<img src="http://static.php.net/www.php.net/images/php.gif" />
<a href="http://www.php.net/">
[img]http://static.php.net/www.php.net/images/php.gif[/img]
</a>
PHP Documentation Group BBCODE_CREATE(3)