I'm trying to send an email using the messaging module from a s60v5 phone
>>> import messaging
>>> messaging.mms_send(email@example.com', u'hello', u'e:/file.txt')
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "c:\resource\python25\python25.zip\messaging.py", line 87, in mms_send
SymbianError: [Errno -28] KErrBadName
I get the same error if I use a number rather than an email address in the first parameter.
I checked with os.listdir that the file exists.
There are a number of similar post about mms_send, but none seem to address this issue
EDIT: I sent an email without an attachment, which went through. badname suggests there's something wrong with the filename of my attachment, which seems to be a problem I'm having.