File attachement
Posted: Mon Feb 07, 2011 5:43 am
Hi friends,
now i am doing mail sending with attachment.i got
code for mail send with attachment but when i a integrate this with my
module i got some problem.here the following file is separate code for
sending mail with attachment,
http://pastie.org/1536601
the above code works.Now My module containing two files,
//mailj.php
http://pastie.org/1536609
//send.php
http://pastie.org/1536622
But mail not sent.there are two warning coming ,
Warning: key() [function.key]: Passed variable is not an array or
object in /home/lumiinc1/public_html/group/sent1.php on line 23
Warning: file_get_contents() [function.file-get-contents]: Filename
cannot be empty in /home/lumiinc1/public_html/group/sent1.php on line
30
i want to sent mail with attachment.please help me.please
now i am doing mail sending with attachment.i got
code for mail send with attachment but when i a integrate this with my
module i got some problem.here the following file is separate code for
sending mail with attachment,
http://pastie.org/1536601
the above code works.Now My module containing two files,
//mailj.php
http://pastie.org/1536609
//send.php
http://pastie.org/1536622
But mail not sent.there are two warning coming ,
Warning: key() [function.key]: Passed variable is not an array or
object in /home/lumiinc1/public_html/group/sent1.php on line 23
Warning: file_get_contents() [function.file-get-contents]: Filename
cannot be empty in /home/lumiinc1/public_html/group/sent1.php on line
30
i want to sent mail with attachment.please help me.please