Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
perl system mail
Results 1 to 3 of 3

Thread: perl system mail

  1. #1

    perl system mail

    Hi,

    I am trying to write a perl script, it send's mail to a user i used system(mail -s test) and also send some messages using this.

    but my issue is i receive mail with html code like <br> and so..
    how to get a plain mail using this system command. thanks in advance

  2. #2
    Quote Originally Posted by svar View Post
    Hi,

    I am trying to write a perl script, it send's mail to a user i used system(mail -s test) and also send some messages using this.

    but my issue is i receive mail with html code like <br> and so..
    how to get a plain mail using this system command. thanks in advance
    You receive mail? Receive it where?

    You should probably use the Mail::Sender perl package for emailing using perl. Run "perldoc Mail::Sender" to see examples on how to use this. If you don't have it, run "cpan" and then type "install Mail::Sender".

  3. #3
    I am able to send and receive mail, my problem i receive it with HTML code.

Similar Threads

  1. create mail user without creating it on system
    By Amira in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 07-05-2011, 02:31 PM
  2. Replies: 1
    Last Post: 01-21-2011, 12:06 AM
  3. procmail calling Perl, making a system call?
    By daroo in forum Linux - General Topics
    Replies: 9
    Last Post: 11-19-2008, 02:01 PM
  4. PERL: system and grabbing STDOUT
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 05-14-2003, 07:14 PM
  5. perl question from a perl newb
    By tolstoy in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 09-06-2002, 01:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •