www.8devices.com
View unanswered posts | View active topics It is currently 21 Sep 2024, 03:18



Reply to topic  [ 2 posts ] 
 send mail with nsmtp 
Author Message

Joined: 08 Mar 2012, 20:30
Posts: 5
trying to use nsmtp in order to send an email results in bus error or segmentation fault. Could anybody give a hint what I am doing wrong. Thanks


16 May 2012, 09:34
Profile

Joined: 08 Mar 2012, 20:30
Posts: 5
I solved the issue by using ssmpt instead of nsmtp. This works flawlessly given carambola's network IP is attributed via dhcp. Just select the 'ssmtp' package (leave nsmtp unselected!) in the 'mail' section, run 'makeconfig' and flash carambola with the new image. when rebooted, configure the two files that are in the directory '/etc/ssmtp' to match your environment (google <openwrt ssmpt> might help) then test this with the console command: echo 'mailtest' | ssmtp aaa@bbb.ccc. To send an email from php, you need to write the console command in a text file, make it executable and run it via 'exec'. cheers


18 May 2012, 18:03
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.