Email Control 
Author Message
 Email Control

I am trying to write an email control VIA VBScript in Internet Explorer for
the Clients Machines. I can't use previously written software for this
operation due to the limitations I have been given by my boss.  Our county
MUST have the code for ALL components written, therefore, 99% of all
components we use must be written by US.  Hmm, stinks eh?

Anywho, I need to allow email from a form WITHOUT any type of Outlook box or
anything thereof show up.  No other solutions are allowed by my boss.

I was thinking that maybe using something like the Winsock control to
connect and send the data, we have written an email control using Winsock,
but it pops up a form so it will not work for our needs (VBScript and ASP).
Another type of problem that we have is that the Winsock control is just
that, a control.  How do you use a control with VBScript such as Winsock?

Do we use the OBJECT tag?  Or and EMBED tag?  Or ugggh, umm, yeah.  Please
reply :)

Mythran



Sat, 17 Jul 2004 01:18:43 GMT  
 Email Control
I've used CDO sucessfully, though I believe it's Win2K only. There are lots
of examples.
Here's something to start with:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncd...
ml/collabdataobjs.asp

Dirk


Quote:
> I am trying to write an email control VIA VBScript in Internet Explorer
for
> the Clients Machines. I can't use previously written software for this
> operation due to the limitations I have been given by my boss.  Our county
> MUST have the code for ALL components written, therefore, 99% of all
> components we use must be written by US.  Hmm, stinks eh?

> Anywho, I need to allow email from a form WITHOUT any type of Outlook box
or
> anything thereof show up.  No other solutions are allowed by my boss.

> I was thinking that maybe using something like the Winsock control to
> connect and send the data, we have written an email control using Winsock,
> but it pops up a form so it will not work for our needs (VBScript and
ASP).
> Another type of problem that we have is that the Winsock control is just
> that, a control.  How do you use a control with VBScript such as Winsock?

> Do we use the OBJECT tag?  Or and EMBED tag?  Or ugggh, umm, yeah.  Please
> reply :)

> Mythran



Sat, 17 Jul 2004 01:44:03 GMT  
 Email Control
Don't want to derail the thread, Mythran, but -

There's a government "import" quota on code??

Does that apply to "free" material also?


Quote:
> I am trying to write an email control VIA VBScript in Internet
Explorer for
> the Clients Machines. I can't use previously written software for
this
> operation due to the limitations I have been given by my boss.  Our
county
> MUST have the code for ALL components written, therefore, 99% of all
> components we use must be written by US.  Hmm, stinks eh?

> Anywho, I need to allow email from a form WITHOUT any type of
Outlook box or
> anything thereof show up.  No other solutions are allowed by my
boss.

> I was thinking that maybe using something like the Winsock control
to
> connect and send the data, we have written an email control using
Winsock,
> but it pops up a form so it will not work for our needs (VBScript
and ASP).
> Another type of problem that we have is that the Winsock control is
just
> that, a control.  How do you use a control with VBScript such as
Winsock?

> Do we use the OBJECT tag?  Or and EMBED tag?  Or ugggh, umm, yeah.
Please
> reply :)

> Mythran



Sat, 17 Jul 2004 03:01:01 GMT  
 Email Control

Quote:

>I am trying to write an email control VIA VBScript in Internet Explorer for
>the Clients Machines. I can't use previously written software for this
>operation due to the limitations I have been given by my boss.  Our county
>MUST have the code for ALL components written, therefore, 99% of all
>components we use must be written by US.  Hmm, stinks eh?

Of course what is so amusing and sad here is that you don't have the
source for your OS or your development tools such as VBScript.   But
try to argue this with your county.

Quote:
>I was thinking that maybe using something like the Winsock control to
>connect and send the data, we have written an email control using Winsock,
>but it pops up a form so it will not work for our needs (VBScript and ASP).
>Another type of problem that we have is that the Winsock control is just
>that, a control.  How do you use a control with VBScript such as Winsock?

Sorry, no answers for VBScript and ASP environments.   I would've
thought Winsock or using API calls would've worked but I have no
experience in those areas.

Tony
--
Tony Toews, Microsoft Access MVP
   Please respond only in the newsgroups so that others can
read the entire thread of messages.
   Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm



Sat, 17 Jul 2004 04:19:11 GMT  
 Email Control
One idea would be to install IIS on your WIN2K machine (and the SMTP service ofcourse) and create an asp page which the
user can fill and submit to the web server and you can process the form and send the email using CDONTS. It's quite
simple when you use this format.

HTH

--
Trevor Benedict R
Microsoft Certified Professional
Mascot Malaysia.



Sat, 17 Jul 2004 10:12:34 GMT  
 Email Control
Aaarrrggghhh....no offense, but it doesn't seem like anyone understands what
I HAVE to do.  I must write a component that will send mail using ASP
WITHOUT an IIS server.  Hmm....think about it as having the Script Host
installed on their local computer but they don't have the CDONTS library to
work with.  For that matter, they don't have ANY email library to work
with....how can I create a library SIMILAR to the CDONTS library?

Can I use the Winsock control in a VBS file?  I know how to make the Winsock
control work for email using VB6 but can I do it for VBS?

Thanks,
Mythran



Mon, 19 Jul 2004 00:24:33 GMT  
 Email Control

Quote:

> Aaarrrggghhh....no offense, but it doesn't seem like anyone understands what
> I HAVE to do. I must write a component that will send mail using ASP
> WITHOUT an IIS server.

No offense, but the whole confusion may emanate from your explanation style.
For instance - if you are serving ASP pages - you DO have IIS (hopefully not
Chili!Soft?). If your web server runs IIS, then you do have CDONTS or can
always install SMTP service on that box.

Quote:
> Hmm....think about it as having the Script Host
> installed on their local computer but they don't have the CDONTS library to
> work with.

Now this is a missconception. Your web clients should not be responsable for
mailing. Create web form, have clients fill it and post it back to server.
Server will (should) take form apart and based on its fields create and
send the mail on behalf of clients. Then you'd use whatever easy conntrollable
means you have at your disposal on IIS like CDONTS.

Quote:
> Can I use the Winsock control in a VBS file?  I know how to make the Winsock
> control work for email using VB6 but can I do it for VBS?

If you simply MUST - then go ahead make your own VB component, have it
registered on the IIS server and let it do the job (but this feels more
like re-inventing the wheel)...

Quote:
> ... No other solutions are allowed by my boss.

High time to change the boss (by changing the place one works at;)?

Branimir



Mon, 19 Jul 2004 00:49:02 GMT  
 Email Control
speaking of e-mail I have not been able send or receive email since Oct of
01.

Quote:
> Aaarrrggghhh....no offense, but it doesn't seem like anyone understands
what
> I HAVE to do.  I must write a component that will send mail using ASP
> WITHOUT an IIS server.  Hmm....think about it as having the Script Host
> installed on their local computer but they don't have the CDONTS library
to
> work with.  For that matter, they don't have ANY email library to work
> with....how can I create a library SIMILAR to the CDONTS library?

> Can I use the Winsock control in a VBS file?  I know how to make the
Winsock
> control work for email using VB6 but can I do it for VBS?

> Thanks,
> Mythran



Mon, 19 Jul 2004 16:11:48 GMT  
 Email Control

Quote:

> Aaarrrggghhh....no offense, but it doesn't seem like anyone understands what
> I HAVE to do.  I must write a component that will send mail using ASP
> WITHOUT an IIS server.  Hmm....think about it as having the Script Host
> installed on their local computer but they don't have the CDONTS library to
> work with.  For that matter, they don't have ANY email library to work
> with....how can I create a library SIMILAR to the CDONTS library?

> Can I use the Winsock control in a VBS file?  I know how to make the Winsock
> control work for email using VB6 but can I do it for VBS?

> Thanks,
> Mythran

If you want to send email with something *similar* to ASP using the
script host (that's WSH) AND without IIS, you can try eMill:
http://www.activeplus.com
You won't have to write the email objects, they are included with the
workshop.
You won't need CDONTS of course...
You WILL need VBScripting...
Daniel


Sun, 25 Jul 2004 02:52:22 GMT  
 
 [ 9 post ] 

 Relevant Pages 

1. Using Mapi email Control Question

2. Email control

3. I need an email control

4. Beta testers needed for email control.

5. EMail Controls

6. Need a winsock/smtp (email) control for vb...didnt find any which i can use

7. Need a winsock/smtp (email) control for vb...didnt find any which i can use

8. Need SMTP email control!

9. Need a good Email Control

10. reproducing OutlookX email control

11. Email Control (want to buy)

12. Beta testers needed for email control.

 

 
Powered by phpBB® Forum Software