Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sachin.singh

macrumors newbie
Original poster
Oct 19, 2008
17
0
hello....


i hav got the following error while iphone programming to mail an attachment...

this was the code used by me..

FILE *obj=popen("uuencode /Users/macpc4/Desktop/Untitled.rtf /Users/macpc4/Desktop/Untitled.rtf > /Users/macpc4/Desktop/Untitled.rtf.uu | echo \"mail body\" > mail.body | cat mail.body /Users/macpc4/Desktop/Untitled.rtf.uu | mail -s \"test e-mail\" sachin.singh@magnettechnologies.com","r");

and the error encountered was...


send-mail: fatal: execvp /usr/sbin/postdrop: Operation not permitted
send-mail: warning: command "/usr/sbin/postdrop -r" exited with status 1
send-mail: fatal: macpc4(501): unable to execute /usr/sbin/postdrop -r: Unknown error: 0


SO PLZ HELP ME WTH D SAME...:(

thanks
sachin:apple:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.