F
fowlertrainer
I want to set the name of the attachment in an python-generated email.
This is needed, because the another site we want to get this name, and
repack the attachments by name (an ID).
Some programming languges (components) are allow to set this.
(See Delphi/Indy/MessagePart)
fp=open(plist, 'rb')
mdata=MIMEAudio(fp.read(),'mpeg')
fp.close()
msg.attach(mdata)
???? msg['filename']='xxx'
Can anyone help in this problem ?
Thanx for it:
FT
This is needed, because the another site we want to get this name, and
repack the attachments by name (an ID).
Some programming languges (components) are allow to set this.
(See Delphi/Indy/MessagePart)
fp=open(plist, 'rb')
mdata=MIMEAudio(fp.read(),'mpeg')
fp.close()
msg.attach(mdata)
???? msg['filename']='xxx'
Can anyone help in this problem ?
Thanx for it:
FT