Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > asp mail without using a mail component

Reply
Thread Tools

asp mail without using a mail component

 
 
Michel
Guest
Posts: n/a
 
      07-14-2004
I'm looking for an asp code who can send an email without using a mail
component.
I started to write somethings using winsock but I don't have enough time to
finish it.
Does somebody have a such code?

Thank you
Michel


 
Reply With Quote
 
 
 
 
Aaron [SQL Server MVP]
Guest
Posts: n/a
 
      07-14-2004
No, why don't you just use a component? Most hosts support at least one,
plus you can also send mail from a database ...

--
http://www.aspfaq.com/
(Reverse address to reply.)




"Michel" <> wrote in message
news:...
> I'm looking for an asp code who can send an email without using a mail
> component.
> I started to write somethings using winsock but I don't have enough time

to
> finish it.
> Does somebody have a such code?
>
> Thank you
> Michel
>
>



 
Reply With Quote
 
 
 
 
Jeff Cochran
Guest
Posts: n/a
 
      07-15-2004
On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <>
wrote:

>I'm looking for an asp code who can send an email without using a mail
>component.
>I started to write somethings using winsock but I don't have enough time to
>finish it.
>Does somebody have a such code?


In effect, you don't want to use a component so you were writing your
own. Why don't you want to use a mail component?

Jeff
 
Reply With Quote
 
Michel
Guest
Posts: n/a
 
      07-15-2004
Hi
This is for an internal political reason. There isn't any technical
reason...
So if any body has somethings....

Michel


"Jeff Cochran" <> wrote in message
news:...
> On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <>
> wrote:
>
> >I'm looking for an asp code who can send an email without using a mail
> >component.
> >I started to write somethings using winsock but I don't have enough time

to
> >finish it.
> >Does somebody have a such code?

>
> In effect, you don't want to use a component so you were writing your
> own. Why don't you want to use a mail component?
>
> Jeff



 
Reply With Quote
 
Ray at
Guest
Posts: n/a
 
      07-15-2004
Personally, instead of putting effort into coming up with a way to send
e-mail without a component, I'd divert that energy into fighting the
"political reason." But, I know that's easier said than done...

You can create an e-mail with the file system object and drop the file in an
SMTP server's pickup directory. Like, if you have a server named SMTPSERVER
with a shared Inetpub directory, you could do something like:

Dim oFSO, oFile

Set oFSO = Server.CreateObject("Scripting.FileSystemObject")
Set oFile =
oFSO.CreateTextFile(\\SMTPSERVER\InetpubShare\mail root\pickup\anEmail.eml")
oFile.WriteLine "X-Receiver: "
oFile.WriteLine "X-Sender: "
oFile.WriteLine "To: <>"
oFile.WriteLine "Subject: Test FSO E-Mail"
oFile.WriteLine vbCrLf
oFile.WriteLine "Test e-mail FSO"
oFile.Close
Set oFile = Nothing
Set oFSO = Nothing


Ray at work








"Michel" <> wrote in message
news:%...
> Hi
> This is for an internal political reason. There isn't any technical
> reason...
> So if any body has somethings....
>
> Michel
>
>
> "Jeff Cochran" <> wrote in message
> news:...
>> On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <>
>> wrote:
>>
>> >I'm looking for an asp code who can send an email without using a mail
>> >component.
>> >I started to write somethings using winsock but I don't have enough time

> to
>> >finish it.
>> >Does somebody have a such code?

>>
>> In effect, you don't want to use a component so you were writing your
>> own. Why don't you want to use a mail component?
>>
>> Jeff

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any POP3 and NNTP component I can use as a ASP Component? Miguel Minora ASP General 1 01-11-2005 10:16 PM
asp.NET dll-component: server security hole ?? (managed component) nicholas ASP .Net 3 10-04-2004 11:44 AM
com+ component and Component Service Karuppasamy ASP .Net 0 01-13-2004 06:09 PM
using client-side component keeps calling component's init Jim Hammond ASP .Net 1 11-12-2003 08:13 PM
Re: Calling a .NET component from a COM component remotely Soni ASP .Net 0 07-25-2003 04:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57