473,698 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1817
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*******@hotm ail.com> wrote in message
news:OK******** ******@TK2MSFTN GP10.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*******@hotm ail.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*********@zi na.com> wrote in message
news:40******** *******@msnews. microsoft.com.. .
On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <iw*******@hotm ail.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.CreateOb ject("Scripting .FileSystemObje ct")
Set oFile =
oFSO.CreateText File(\\SMTPSERV ER\InetpubShare \mailroot\picku p\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*******@hotm ail.com> wrote in message
news:%2******** ********@tk2msf tngp13.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*********@zi na.com> wrote in message
news:40******** *******@msnews. microsoft.com.. .
On Wed, 14 Jul 2004 22:51:50 +0200, "Michel" <iw*******@hotm ail.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
1860
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 +receiving+ side, I need to space out the sends: say, send 500 messages, pause ten minutes, send another 500, until the full list of 30,000 is complete. I'm either going to code this myself, or buy a component that does this for me. Can anyone advise...
8
3325
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 how can i send mail?? I tried many web sited but the codes I get simply dont work at all!!! I am really going nuts here! thanks
3
3034
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 identifies itself as the computer name which is not in domain.com format, triggering spam filter problems). Instead, I want to have my code send through an SMTP server of a company that we pay for mail service. But they require a username and password....
26
1781
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 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebmailsmtpmailclasstopic.asp: Requirements Namespace: System.Web.Mail Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family Assembly: System.Web (in System.Web.dll)
12
1241
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 sending email using this component need IIS installed on the machines from where the email is being sent?
4
3655
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' Gateway it fails with a 550 relay error msg. I've had this problem in the past with Delphi/Indy SMTP component. The problem there was that the component was blacklisted by Verizon for previous use by spammers. The fix was to get rid of the...
6
1523
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 file automatically. Then I resorted to System. Web namespace but here also it does not take the SMTP server's address automatically. I have to mention it. The application on which I am working is a general purpose application and user might not be...
9
1582
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
1980
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 work where an email goes out to let a person know an entry has been made with a copy of the text on that email. Works fine on my test system at home but not at work. I'm trying to remember which version of PHP I'm using there and I'm thinking...
0
8601
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8892
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7716
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.