06-12-2007
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I wanted to try sending a mail with an attachement at command prompt in unix. Some one please advise that how we can do it ?
Thanks, :) (2 Replies)
Discussion started by: gaddeg
2 Replies
2. Shell Programming and Scripting
Hello,
I am new to perl and need to create a script that will read a file and pull a name from the file and send e-mail.
How can I use the following awk statement in a perl script?
grep UNIXadmins /root/mail.conf | awk '{ print $2}'
and use the output to send a e-mail.
Any help would... (1 Reply)
Discussion started by: DC Heard
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
I want to send out a file that generate 1st of each month that have formate like this 11012008_experience_rate_log.txt
Now I have setup a cronjob that usually sent this file in mail
like
cat /data02/transfer/*_experience_rate_log.txt | mail -s 'PICS EXP RATE Logs' lger@bd.com
So how... (3 Replies)
Discussion started by: vishalpatel03
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
5. Shell Programming and Scripting
Hi,
I would like to send a mail with multiples files attached.
Until now i was doing a "find" and then a "tar" of the text files.
As I need to be able to read them on a mobile device such as Blackberry for instance, i would like to send them in one single mail, but without taring them.
is... (2 Replies)
Discussion started by: Pierrito
2 Replies
6. Shell Programming and Scripting
Hi i have a script for show the information files. ls -l
how do you for to place this result in a file of text and to send it attached for e-mail.
The information of the mail must be in paramentros. for example e-mail to I must write the e-mail, the subject and the motive of the mail!
... (1 Reply)
Discussion started by: krlos07
1 Replies
7. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
8. Shell Programming and Scripting
Hi. My name is Mirko
I have two file.
File 1:
mio@mio.it
tst@test.com
bye@bye.fr
File 2:
error 08 ffff mio@mio.it test
error 05 ffff bye@bye.fr test
error 11 ffff tst@test.com test
error 65 ffff mio@mio.it test
error 55 ffff bye@bye.fr test
Examples
I would like to send a mail... (2 Replies)
Discussion started by: Gionfalco01
2 Replies
9. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT PHP
http_build_url
HTTP_BUILD_URL(3) 1 HTTP_BUILD_URL(3)
http_build_url - Build a URL
SYNOPSIS
string http_build_url ([mixed $url], [mixed $parts], [int $flags = HTTP_URL_REPLACE], [array &$new_url])
DESCRIPTION
Build a URL.
The parts of the second URL will be merged into the first according to the flags argument.
PARAMETERS
o $url
- (part(s) of) a URL in form of a string or associative array like parse_url(3) returns
o $parts
- same as the first argument
o $flags
- a bitmask of binary or'ed HTTP_URL constants; HTTP_URL_REPLACE is the default
o $new_url
- if set, it will be filled with the parts of the composed url like parse_url(3) would return
RETURN VALUES
Returns the new URL as string on success or FALSE on failure.
EXAMPLES
Example #1
A http_build_url(3) example
<?php
echo http_build_url("http://user@www.example.com/pub/index.php?a=b#files",
array(
"scheme" => "ftp",
"host" => "ftp.example.com",
"path" => "files/current/",
"query" => "a=c"
),
HTTP_URL_STRIP_AUTH | HTTP_URL_JOIN_PATH | HTTP_URL_JOIN_QUERY | HTTP_URL_STRIP_FRAGMENT
);
?>
The above example will output:
ftp://ftp.example.com/pub/files/current/?a=c
SEE ALSO
parse_url(3), http_build_str(3).
PHP Documentation Group HTTP_BUILD_URL(3)