Author |
|
sunitha Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 25 November 2005 at 4:54am | IP Logged
|
|
|
Hi
Iam using your mailbee component for sending mails.
when iam selecting files from desktop and sending as attachments,those files are not bieng attached to the message.But when iam selecting files from other place other than desktop,its working fine.
Can you please help me in solving this problem.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 25 November 2005 at 9:15am | IP Logged
|
|
|
What is the path to the file on the desktop?
Make sure this path is correct and the permissions are ok. For instance, you may try to read the file using standard FileSystemObject component:
Code:
Set fso = CreateObject("Scripting.FileSystemObject")
set f = fso.OpenTextFile(path)
str = f.ReadAll
f.Close
MsgBox str ' Display the file contents
SMTP.AddAttachment path
|
|
|
If reading file with FileSystemObject fails, the application cannot access the file under the specified path.
Regards,
Alex
|
Back to Top |
|
|
Qasim Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 14 December 2005 at 2:33pm | IP Logged
|
|
|
Alex,
continuing the same discussion. I want to ask a question from you that sort of rights one need to have if he want to access this file.
Like in my case, i can manually open the file from desktop and can make some changes to it but when ever i tries to attach it. it doesn't work.
anxiously waiting for your reply.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 20 December 2005 at 12:43pm | IP Logged
|
|
|
Perhaps, MailBee operates under context of another user in your case. For instance, if you're using it in ASP app, MailBee will usually operate under IUSR_MACHINE_NAME (Intenet Guest User) user. In this case, you should set appropriate permissions for this user.
Sorry for delay with this answer, we've been changing our hosting provider last week.
Regards,
Alex
|
Back to Top |
|
|