473,394 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

asp mail without using a mail component

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
Jul 19 '05 #1
4 1790
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" <iw*******@hotmail.com> wrote in message
news:OK**************@TK2MSFTNGP10.phx.gbl...
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

Jul 19 '05 #2
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
Jul 19 '05 #3
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 tofinish 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

Jul 19 '05 #4
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


Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ken Fine | last post by:
I'm going to have a need to send out about 30,000 e-mail messages regularly to addresses that reside in a list/database. (not spam :) Because of insitutional infrastructure issues on the...
8
by: Ammar | last post by:
Hi all... Could anyone please tell me how to use ASP to send mail from my local web server (using IIS on wWindowsXP-pro)? what are the necessary setting needed in IIS to enable mail sending? and...
3
by: RN | last post by:
I am tired of sending mail from the built-in SMTP service for so many reasons (errors are nondescriptive in the event log, it doesn't let me control which IP address it sends from, and it...
26
by: Massimo Zaccarin | last post by:
ok, I know that I have to use the System.Web.Mail.SmtpMail class, but I've read from...
12
by: Ricky | last post by:
I am using the System.web.mail component in my application being developed in VB.NET 1) Does sending email using System.web.mail work/run only on WinNT,2000 and XP Operating systems. 2) Does...
4
by: Joe Reiss | last post by:
Hi all, I'm using the System.Net.Mail namespace to set up a SMTP sendmail. This works for the most part, however, when I try to send email to a cell phone text msg. via the Verizon 'vtext'...
6
by: Dushyant | last post by:
Hi everyone, I am working on an application, where I need to mail some xml files as attachments. I tried to use System.Diagnostic.Process class but it does not provide any help for attaching a...
9
by: Goran Djuranovic | last post by:
Hi all, Does anyone know how to send mail with attachment from memory, rather than from a file on disk? I am using VB.NET 2003. Thanks in advance Goran Djuranovic
6
by: cover | last post by:
I'm using PHP 5 at home w/Apache & MySQL on a test system where I write through a form to a database and also send an email to people on a drop down list. Purpose for this is an electronic log at...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.