Product Home Page | Developer Site | Version | |
The SaveAttachments method saves e-mail attachments to a specified directory on the server.
Directory path on the Server
|
The complete path name to the directory on the server where attachments are to be saved.
|
Note | In a shared Web hosting environment, such as with an ISP, you might not know the directory structure above the document root for your virtual host. In this situation, you cannot specify an absolute path name for the file, so you must use the Server.MapPath directive instead. |
Set pop3 = Server.CreateObject("Chili.Pop3.1")
pop3.Connect "mail.foo.com", "myuserid", "mypasswd"
For each item in pop3.Messages
For each Cc in Item.Cc
MsgBox Cc
next
next
pop3.Reset
pop3.Disconnect
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.