smtp

How to send email from a program _without_ using a preexisting account?

I'd like my program to be able to email me error reports. How can I do this without hard-coding a username/password/SMTP server/etc. into the code? (Doing so would allow users to decompile the program and take over this email account.) I've been told you could do some stuff with telneting to port 25, but I'm very fuzzy on the details. M...

Need a lightweight, free, windows SMTP server

Anyone have any experience with 3rd party SMTP server for windows (server 2003)? I would like to set one up so that the cruise control can send reports of nightly builds and svn check-ins. I would like the server to be lightweight and free (this will only be used for sending email) I know windows server 2003 has a SMTP server built in...

I ALMOST understand how email works, but I'm missing something.

For the past few weeks, I've been trying to learn about just how email works. I understand the process of a client receiving mail from a server using POP pretty well. I also understand how a client computer can use SMTP to ask an SMTP server to send a message. However, I'm still missing something... The way I understand it, outgoing ...

php mail() not working windows 2003, IIS SMTP

getting this: problem PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [email protected] in c:\inetpub\wwwroot\mailtest.php on line 12 from this page: <?php $to = "[email protected]"; $subject = "test"; $body = "this is a test"; if (mail($to, $subject, $body)){ echo "mail sent"; } ...

How can you set the SMTP envelope MAIL FROM using System.Net.Mail?

When you send an email using C# and the System.Net.Mail namespace, you can set the "From" and "Sender" properties on the MailMessage object, but neither of these allows you to make the MAIL FROM and the from address that goes into the DATA section different from each other. MAIL FROM gets set to the "From" property value, and if you set...

SMTP Mail Timeout Issue

When I'm creating a user for my web application, an SMTP email (using ASP.NET's SmtpClient) is sent to the user with the automatically generated password. However, sometimes what I notice is that it times out and the new user simply won't receive the email with the password. Alright, so I'll display a message indicating that the mail di...

C++ SMTP Example

Does any one have a simple C++ example for sending e-mail using smtp api? ...

How do you stop IIS SMTP Server from sending bounce emails?

How do you stop the "Default SMTP Virtual Server" from sending bounce messages for email addresses that you don't have? i.e. I'm using IIS' SMTP server to handle my email and if an email is sent unknown at mydomain.com a bounce email with 'address not known' (or something like that) is sent back to the sender. I want it to silently fail...

How can I tell if I have an open relay?

I'm trying to work out if I have an open relay on my server. How do I do that? I've tried http://www.abuse.net/relay.html and it reports: Hmmn, at first glance, host appeared to accept a message for relay. THIS MAY OR MAY NOT MEAN THAT IT'S AN OPEN RELAY. Some systems appear to accept relay mail, but then reject messages internally ra...

Sending mail from Python using SMTP

I'm using the following method to send mail from Python using SMTP. Is it the right method to use or are there gotchas I'm missing ? from smtplib import SMTP import datetime debuglevel = 0 smtp = SMTP() smtp.set_debuglevel(debuglevel) smtp.connect('YOUR.MAIL.SERVER', 26) smtp.login('USERNAME@DOMAIN', 'PASSWORD') from_addr = "John Doe...

How do I send an SMTP Message from Java?

How do I send an SMTP Message from Java? ...

SMTP commands for "AUTH NTLM"

I'm failing at finding the commands I need to send to authenticate to a SMTP server using NTLM. I think it goes something like: AUTH NTLM <bae64encode something> 334 <bae64encode something> 235 ...

Limit dev environment to e-mail only certain domains for testing (XP smtp IIS)

I'm developing a website on an XP virtual machine and have an SMTP virtual server set up in IIS -- it delivers mail just fine. What I would like is to confirm that any emails the site sends are only going to a specific domain. The XP firewall seems to only involve incoming connections, I can't block outgoing TCP on port 25. And I haven'...

Best OS App for Outbound SMTP Packet Capture?

Okay, so this probably sounds terribly nefarious, but I need such capabilities for my senior project. Essentially I'm tasked with writing something that will cut down outbound spam on a zombified pc through a system of packet interception and evaluation. We have a number of algorithms we'll use on the captured messages, but it's the actu...

SmtpClient.SendAsync bug in ASP.NET 2.0

Hello, I may be wrong, but if you are working with SmtpClient.SendAsync in ASP.NET 2.0 and it throws an exception, the thread processing the request waits indefinitely for the operation to complete. To reproduce this problem, simply use an invalid SMTP address for the host that could not be resolved when sending an email. Note that ...

Exchange drop support for SMTP?

I want to send email with Exchange by using telnet to port 25. Until two week ago I was able to, but now a "security fix" from Microsoft has removed this possibility. When I try, I get this message: 421 4.3.2 Service not available, closing transmission channel What can I do? ...

Need Lightweight .NET SMTP implementation (assembly or source)

I am writing a small application that will receive messages to process over smtp port 25. I am looking for an .NET assembly that I can incorporate that will listen to port 25 and talk SMTP. I invision that when a message arrives some event is triggered where I can read the message and process it. Esstentilly I need to "Act" like a S...

why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT

Why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT when the same source code compiled in D2007 produces emails with attachments correctly named with the original file name? I am using the respective Indy libraries that come with D2007 and D2009. Not having the original file name on the attachment prevents users f...

Must an SMTP client provide the MTA a globally resolvable hostname in the HELO?

In short: I'm trying to figure out if I should tell a mail administrator of a friend's employer whether their mail configuration should be fixed, or if I should revise my own policy to be more liberal in what I accept, or neither. A friend was complaining of being unable to reach anything on my mailserver. I dug into it and it seems th...

How to send mail from ASP.NET with IIS6 SMTP in a dedicated server?

Hi. I'm trying to configure a dedicated server that runs ASP.NET to send mail through the local IIS SMTP server but mail is getting stuck in the Queue folder and doesn't get delivered. I'm using this code in an .aspx page to test: <%@ Page Language="C#" AutoEventWireup="true" %> <% new System.Net.Mail.SmtpClient("localhost").Send("inf...