I have used a php form mail code in a website. The problem I am facing is: the text in mail body is getting injected to a configured yahoo mail ID, but no attachement file. I need the attachement to go to the configured yahoo mail ID.
Dear All:
I want to send a message to a list of people with a subject and an attachement, currently I am using the following command into a shell script:
uuencode $FILENAME.gz $FILENAME.gz | mail john.kennedy@mycompany.com m.m@mycompany.com
With this command I can send the message for a... (1 Reply)
Hi
Can somebody help me in wirting shell script in the following way.Desperately i have poseted this..
1.How can I connect to Oracle(Sqlplus) from UNIX.
2.After connecting to it I have to execute an oracle proceudure..
3.Execution of the procedure will give some set of rows..
4.The set of... (6 Replies)
Hi All,
I have general query that ...in my script i used uuencode
option like below.
cd /location
(cat test.txt
uuencode test.csv test.csv ) | mail -s "test mail" "mail_id"
but whenever i run the above command its giving error like below
./testscript.sh: uuencode not found:
... (1 Reply)
I want to read attachements sent to unix mail id and save the attachement in folder.
I may receive the mails from different mail clients(outlook, lotus ..etc).
Attachements are in CSV(comma saperate) format.
Let me know the shell script code for this.
Regards,
Venkat (1 Reply)
Can't attach text files to 'mail' command. I dont have mutt or mailx to use on my server. so i have to use mail command
any help would be great.
Regards,
Kiran (1 Reply)
Hi ,
I am using the below code to send mail through a script which run as a cron job.
msgdate=`date +"%a, %e %Y %T %z"`
daemail=$(cat <<!
From: $from
To: $emailtarget
Subject: $subject
Mime-Version: 1.0
Content-Type: multipart/mixed;
Content-Disposition: inline
$priority
$CONTENT
!)... (2 Replies)
Dear Sir,
I have a mail form ( file name: sendresults ) in php. This php code supports the sending all text of the checkboxes of Register Page of a website. But it does't send attachement ( word, excel, jpg, image, etc. )
Now , I want to add the attachement code and a javascript of "thank... (0 Replies)
Hello,
I am able to attache the file in UNIX/LINUX script using following code.
MAILFORMAT="Please do not replay this mail.This mail is auto generated."
echo -e $MAILFORMAT | mailx -r autoreplay@gmail.com -a filename -s "status" xyz@gmail.com
But same I am not able attache... (6 Replies)
Discussion started by: nes
6 Replies
LEARN ABOUT CENTOS
php-config
php-config(1) Scripting Language php-config(1)NAME
php-config - get information about PHP configuration and compile options
SYNOPSIS
php-config [options]
DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration.
OPTIONS --prefix Directory prefix where PHP is installed, e.g. /usr/local
--includes List of -I options with all include files
--ldflags LD Flags which PHP was compiled with
--libs Extra libraries which PHP was compiled with
--man-dir The directory prefix where the manpages is installed
--extension-dir
Directory where extensions are searched by default
--include-dir Directory prefix where header files are installed by default
--php-binary Full path to php CLI or CGI binary
--php-sapis Show all SAPI modules available
--configure-options
Configure options to recreate configuration of current PHP installation
--version PHP version
--vernum PHP version as integer
SEE ALSO
php(1)VERSION INFORMATION
This manpage describes php, version 5.4.16.
COPYRIGHT
Copyright (C) 1997-2010 The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available
through the world-wide-web at the following url:
http://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to
license@php.net so we can mail you a copy immediately.
The PHP Group 2010 php-config(1)