Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: send attachment from desktop Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sunitha
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 25 November 2005 at 4:54am | IP Logged Quote sunitha

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 View sunitha's Profile Search for other posts by sunitha
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 25 November 2005 at 9:15am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 
Qasim
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 14 December 2005 at 2:33pm | IP Logged Quote Qasim

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 View Qasim's Profile Search for other posts by Qasim
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 20 December 2005 at 12:43pm | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide