Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Attachment Class Problem in COM API
PostPosted: 2004-07-14 11:25 
New user
New user

Joined: 2004-06-07 16:22
Posts: 17
Location: Austria
In the "new" COM API 1.3 the Attachment Class is not working.
If I want to access the attachments by e.g.
Code:
'...
while not rst.eof
    set oMsg=oAccount.Messages.ItemByDBID(rst("messageid"))
    AttachmentCount=oMsg.Attachments.Count
    '...
    rst.movenext
wend

I get an error message that 'oMsg.Attachments' is not a valid object...

Anyway, how do I add attachments to a new mail?


Top
 Profile  
 
 Post subject:
PostPosted: 2004-07-14 11:30 
Senior user
Senior user
User avatar

Joined: 2004-05-24 22:57
Posts: 421
Location: The Netherlands
Richie44

Are you making a webmail system based on the hMailserver API?
If you do so, is it open source? :P


Last edited by Bram on 2004-07-14 11:31, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: 2004-07-14 11:30 
Developer

Joined: 2003-11-21 01:09
Posts: 6394
Location: Sweden
Still of problems in the Message COM API... I'm aware of theese.. just haven't had the time to fix them..

I'll fix the attacments collection in the next version so that it's possible to get a list of them. But it's not possible to ADD attachments to a message using a COM API... it has never been possible..


Top
 Profile  
 
 Post subject:
PostPosted: 2004-07-14 12:16 
New user
New user

Joined: 2004-06-07 16:22
Posts: 17
Location: Austria
To RealDesign:
Yes, I'm writing an ASP based webmail system. I don't know if I should make is open source, but I will have a thought about it. Are you capable of ASP? Maybe we can write it together?

To TheDeveloper:
I'm not begging for it, but in my opinion it doesn't make sense that I go into the source code an fix it by myself because I don't know in what direction you and the project are going. As you know, I'm stuck when something is not implemented.
Anyway, I would appreciate it if you could fix it more or less quickly.

And it would be good if I could ADD attachments to a message. Maybe you can have a look on it.

BTW, is there a chance I can get the priority of a message?

Thanks in adcance,
Christoph


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group