I got a problem with my c++ Program. It uses the mailx package for email notification.
When I type in the terminal the email will arrive the reciever.
Code: Select all
cat helloworld.txt| mailx -s 'This is the subject' johndoe@gmx.deCode: Select all
system("cat helloworld.txt| mailx -s 'This is the subject' johndoe@gmx.de");