how to sendmail

Discussion in 'C++' started by DaVinci, Apr 8, 2006.

  1. DaVinci

    DaVinci Guest

    linux debian 2.6.16
    how can I send the error message to the user by email?
    such as
    void sendmail(std::string errormsg ,std::string email)
    {

    }

    how can I implements the function?

    any suggestion is apprecitated.
    thanks very much
    DaVinci, Apr 8, 2006
    #1
    1. Advertising

  2. DaVinci wrote:
    > linux debian 2.6.16
    > how can I send the error message to the user by email?
    > [..]
    > any suggestion is apprecitated.


    news:comp.os.linux.development.apps

    V
    --
    Please remove capital As from my address when replying by mail
    Victor Bazarov, Apr 8, 2006
    #2
    1. Advertising

  3. DaVinci

    DaVinci Guest

    Victor Bazarov wrote:
    > DaVinci wrote:
    > > linux debian 2.6.16
    > > how can I send the error message to the user by email?
    > > [..]
    > > any suggestion is apprecitated.

    >
    > news:comp.os.linux.development.apps
    >
    > V
    > --
    > Please remove capital As from my address when replying by mail

    I am sorry
    DaVinci, Apr 8, 2006
    #3
  4. DaVinci

    Noah Roberts Guest

    DaVinci wrote:
    > linux debian 2.6.16
    > how can I send the error message to the user by email?
    > such as
    > void sendmail(std::string errormsg ,std::string email)
    > {
    >
    > }
    >
    > how can I implements the function?


    The easiest way is to use the standard call system() to run an external
    program to do it.
    Noah Roberts, Apr 8, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Aaron Powell
    Replies:
    0
    Views:
    1,188
    Aaron Powell
    Jul 24, 2003
  2. jim

    Sendmail problem

    jim, Oct 24, 2003, in forum: Perl
    Replies:
    4
    Views:
    642
  3. Hmmm...
    Replies:
    4
    Views:
    2,090
    ChrisO
    Sep 6, 2004
  4. sugapablo
    Replies:
    0
    Views:
    2,141
    sugapablo
    Sep 21, 2007
  5. Andrzej Adam Filip
    Replies:
    0
    Views:
    4,060
    Andrzej Adam Filip
    Mar 31, 2008
Loading...

Share This Page