Trying to Send eMail from a File ? (General questions)

by Maverick5 @, (7046 days ago)

First I:
dim strFile as string
For Each strFile In Directory.GetFiles(mailBoxDir & OUTBOX )
SmtpC.Message.Load(strFile)
SmtpC.SendMessage()
Next

Why does this not work ?
shouldn't I load the message first to the component then send ?

Help, ahhhh

;-)
mav

locked

Re: Trying to Send eMail from a File ?

by Jasmine, (7045 days ago) @ Maverick5

Yes, that should work. Why doesn't it work, did you check Transcript property? Do you use blocking mode?

locked

Re: Trying to Send eMail from a File ?

by Maverick5 @, (7045 days ago) @ Jasmine

It says Component Busy...

I'm not using blocking or transcript,
should I be ?

Mav

locked

Re: Trying to Send eMail from a File ?

by Maverick5 @, (7045 days ago) @ Maverick5

set blocking to false, component still busy...

locked

Re: Trying to Send eMail from a File ?

by Jasmine, (7045 days ago) @ Maverick5

Mav,

how about full code?

Kreso

locked