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:
me@sample.com"
oFile.WriteLine "X-Sender:
me@sample.com"
oFile.WriteLine "To: <me@sample.com>"
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" <iw*******@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi
This is for an internal political reason. There isn't any technical
reason...
So if any body has somethings....
Michel
"Jeff Cochran" <je*********@zina.com> wrote in message
news:40***************@msnews.microsoft.com... On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <iw*******@hotmail.com>
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