Using CSendUi class API's I was able to bring up Send menu with its options(MMS, Bluetooth, Infrared etc). But when I try to send a file as an attachment through Bluetooth it gives me permission denied(-46) error on S60 device.
But I was successful in sending a SMS message with the same attachment.
I was able to receive attachments through BT to the same device. I only have problem while sending the attachments to PC from my app.

Any ideas on this. Any help would be greatly appreciated.