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. procmail calling Perl, making a system call?
    By daroo in forum Linux - General Topics
    Replies: 9
    Last Post: 11-19-2008, 02:01 PM
  2. Error while fetching mail for virtual mail domain account!
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-27-2007, 01:55 PM
  3. PERL: system and grabbing STDOUT
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 05-14-2003, 07:14 PM
  4. default mail program to start when clicking on a mail link
    By bobblebob in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 04-19-2003, 06:13 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
  •