Quantcast
Channel: smtp4dev Issue Tracker Rss Feed
Viewing all 56 articles
Browse latest View live

Commented Issue: Works on home computer but not on another [7515]

$
0
0
I chanced across smtp4dev ... seems an excellent tool to check my email related code.

But it works only on my home computer.

It can execute on my machine @ work, (windows XP or Windows 7) desktop, I mean the window come up but

telnet localhost 25 or a telnet machine-name 25

fails.


However a telnet on my home PC, works okay.

What permissions of firewall settings could I be missing on my machine @ work

thank you.
Comments: ** Comment from web user: jnsunkersett **

To add:
I using the version I downloaded as "smtp4dev-2.0.9-binaries.zip"
Home computer = Lenovo Laptop, Windows 7, 4GB ram, with full admin privileges
@ Work; Dell Optiplex desktop, 2 Gb Ram (tried with Windows & and Windows XP-Sr2) .... without admin privileges


Created Issue: helo command crashed smtp4dev [7680]

$
0
0
In telnet, connect to smtp4dev:25
enter command 'helo<enter>'
app crashes

Commented Issue: Constant Crashes on Win 7 64-bit [6025]

$
0
0
smtp4dev crashes almost evertime mail is sent through. I'm running Win 7 64-bit and using PHP 5.3's email function on Apache 2.2. I don't see any log files or anything that might provide some insight into the issue in the installation directory. is there a way to do a crash report?
Comments: ** Comment from web user: jgordon615 **

I had the same error so I downloaded the source and ran it in debug mode. Turns out that in my case smtp4dev was trying to retrieve a server certificate (for TLS) that didn't exist, so it crashed with the ArgumentNullException. My solution was to UNCHECK the "STARTTLS (Explicit SSL/TLS)" option in the Server tab of the options dialog.

Good luck to you.

Commented Issue: Crash with phplist [5577]

$
0
0
When I send a message with phplist (http://www.phplist.com) the program crashes.

Under Windows 7 64bits, using Apache 2.2 and PHP 5.2.13.

Pd. Works fine with the mail() function.
Comments: ** Comment from web user: jgordon615 **

Try unchecking the "STARTTLS (Explicit SSL/TLS)" option.

Commented Issue: Crash with phplist [5577]

$
0
0
When I send a message with phplist (http://www.phplist.com) the program crashes.

Under Windows 7 64bits, using Apache 2.2 and PHP 5.2.13.

Pd. Works fine with the mail() function.
Comments: ** Comment from web user: jgordon615 **

Try unchecking the "STARTTLS (Explicit SSL/TLS)" option.

Created Issue: New feature request [7750]

$
0
0
I think this tool is great for what it does.
It will be good to take the simulation functionality further, as in having the option to check which emails to forward on to their original intended rececipients.

For example, it is great to see what the email looks like in a windows client, but how does it look like on a smart phone? or even within some popular (or not-so popular) web-mail clients

Created Issue: SSL/TLS encryption with missing certificate crashes app [7759]

$
0
0
SSL/TLS encryption with missing certificate crashes app

Created Issue: SSL/TLS encryption with missing certificate crashes app [7760]

$
0
0
SSL/TLS encryption with missing certificate crashes app

Commented Issue: net_io_connectionclosed? [5767]

$
0
0
I sometimes get an application exception: Unable to read data from the transport connection: net_io_connectionclosed.

I'm unable to reproduce consistently, and usually retrying the email fixes it.
Comments: ** Comment from web user: WorkAByte **

not consistent for me, happens same code block less than 50% of the time.

Created Issue: Feature request, support SMTPUTF8 [7781]

$
0
0
It'd be cool to support SMTPUTF8 - http://datatracker.ietf.org/doc/rfc5336/
Basically it's 'just' using UTF-8 for the connection.

Commented Issue: net_io_connectionclosed? [5767]

$
0
0
I sometimes get an application exception: Unable to read data from the transport connection: net_io_connectionclosed.

I'm unable to reproduce consistently, and usually retrying the email fixes it.
Comments: ** Comment from web user: ryanfinken **

I am having the exact same issue and it is sporadic for me as well.

Commented Issue: Session log is created but no corresponding Message is received [6080]

$
0
0
I have created the following simple ASP.NET 4.0 application to test sending an e-mail:

MailTestPage.aspx
----------------------
<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeFile="MailTestPage.aspx.cs" Inherits="MailTestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0">
<tr>
<td><b>Your Email:</b></td>
<td><asp:TextBox runat="server" ID="UsersEmail" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td><b>Subject:</b></td>
<td><asp:TextBox runat="server" ID="Subject" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<b>Body:</b><br />
<asp:TextBox runat="server" ID="Body" TextMode="MultiLine" Columns="55" Rows="10"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button runat="server" ID="SendEmail" Text="Send E-mail"
onclick="SendEmail_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>


MailTestPage.aspx.cs
-------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;

public partial class MailTestPage : System.Web.UI.Page
{
protected void SendEmail_Click(object sender, System.EventArgs e)
{
const string ToAddress = "emerald77@att.net";
MailMessage mm = new MailMessage(UsersEmail.Text, ToAddress);
mm.Subject = Subject.Text;
mm.Body = Body.Text;
mm.IsBodyHtml = false;
SmtpClient smtp = new SmtpClient();
//(use the Web.config settings)
smtp.Send(mm);
}
}

web.config
-------------
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>
</configuration>

After I create the e-mail message and click the "Send E-mail" button, it takes about 15 seconds before smtp4dev displays the following Session log:

220 localhost smtp4dev ready
EHLO mickey
250-Nice to meet you.
250-8BITMIME
250-STARTTLS
250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250-AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 SIZE
MAIL FROM:<test@domain.com>
250 Okey dokey
RCPT TO:<emerald77@att.net>
250 Recipient accepted
RSET

However, the e-mail message does not show up under the "Messages" tab of smtp4dev. I'm not sure if the problem is due to pilot error or there is a bug in smtp4dev.

Thanks in advance for any assistance with this issue.
Bob
Comments: ** Comment from web user: spongeboy **

Still happening to me on Windows 7, version 2.0.9 and 2.1.1.0Alpha.

I tried catching the packets with Fiddler - but from a different computer it worked! Only occurring when sending from the same machine as the server.

I've tried-
* Running server as administrator

My gut feeling is that the server is replying too quickly. Maybe adding a delay before replying might fix this.

Commented Issue: Session log is created but no corresponding Message is received [6080]

$
0
0
I have created the following simple ASP.NET 4.0 application to test sending an e-mail:

MailTestPage.aspx
----------------------
<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeFile="MailTestPage.aspx.cs" Inherits="MailTestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0">
<tr>
<td><b>Your Email:</b></td>
<td><asp:TextBox runat="server" ID="UsersEmail" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td><b>Subject:</b></td>
<td><asp:TextBox runat="server" ID="Subject" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<b>Body:</b><br />
<asp:TextBox runat="server" ID="Body" TextMode="MultiLine" Columns="55" Rows="10"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button runat="server" ID="SendEmail" Text="Send E-mail"
onclick="SendEmail_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>


MailTestPage.aspx.cs
-------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;

public partial class MailTestPage : System.Web.UI.Page
{
protected void SendEmail_Click(object sender, System.EventArgs e)
{
const string ToAddress = "emerald77@att.net";
MailMessage mm = new MailMessage(UsersEmail.Text, ToAddress);
mm.Subject = Subject.Text;
mm.Body = Body.Text;
mm.IsBodyHtml = false;
SmtpClient smtp = new SmtpClient();
//(use the Web.config settings)
smtp.Send(mm);
}
}

web.config
-------------
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>
</configuration>

After I create the e-mail message and click the "Send E-mail" button, it takes about 15 seconds before smtp4dev displays the following Session log:

220 localhost smtp4dev ready
EHLO mickey
250-Nice to meet you.
250-8BITMIME
250-STARTTLS
250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250-AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 SIZE
MAIL FROM:<test@domain.com>
250 Okey dokey
RCPT TO:<emerald77@att.net>
250 Recipient accepted
RSET

However, the e-mail message does not show up under the "Messages" tab of smtp4dev. I'm not sure if the problem is due to pilot error or there is a bug in smtp4dev.

Thanks in advance for any assistance with this issue.
Bob
Comments: ** Comment from web user: spongeboy **

I added a few System.Threading.Thread.Sleep(1000), but still getting error messages. Oh well.

Commented Issue: Session log is created but no corresponding Message is received [6080]

$
0
0
I have created the following simple ASP.NET 4.0 application to test sending an e-mail:

MailTestPage.aspx
----------------------
<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeFile="MailTestPage.aspx.cs" Inherits="MailTestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0">
<tr>
<td><b>Your Email:</b></td>
<td><asp:TextBox runat="server" ID="UsersEmail" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td><b>Subject:</b></td>
<td><asp:TextBox runat="server" ID="Subject" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<b>Body:</b><br />
<asp:TextBox runat="server" ID="Body" TextMode="MultiLine" Columns="55" Rows="10"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button runat="server" ID="SendEmail" Text="Send E-mail"
onclick="SendEmail_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>


MailTestPage.aspx.cs
-------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;

public partial class MailTestPage : System.Web.UI.Page
{
protected void SendEmail_Click(object sender, System.EventArgs e)
{
const string ToAddress = "emerald77@att.net";
MailMessage mm = new MailMessage(UsersEmail.Text, ToAddress);
mm.Subject = Subject.Text;
mm.Body = Body.Text;
mm.IsBodyHtml = false;
SmtpClient smtp = new SmtpClient();
//(use the Web.config settings)
smtp.Send(mm);
}
}

web.config
-------------
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>
</configuration>

After I create the e-mail message and click the "Send E-mail" button, it takes about 15 seconds before smtp4dev displays the following Session log:

220 localhost smtp4dev ready
EHLO mickey
250-Nice to meet you.
250-8BITMIME
250-STARTTLS
250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250-AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 SIZE
MAIL FROM:<test@domain.com>
250 Okey dokey
RCPT TO:<emerald77@att.net>
250 Recipient accepted
RSET

However, the e-mail message does not show up under the "Messages" tab of smtp4dev. I'm not sure if the problem is due to pilot error or there is a bug in smtp4dev.

Thanks in advance for any assistance with this issue.
Bob
Comments: ** Comment from web user: spongeboy **

This is not just an issue with smtp4dev - I've gotten the same error with DevNullSmtpServer.

My current guess is anti-virus. I have Symantec and Outlook 2010 on the machine.

Commented Issue: Session log is created but no corresponding Message is received [6080]

$
0
0
I have created the following simple ASP.NET 4.0 application to test sending an e-mail:

MailTestPage.aspx
----------------------
<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeFile="MailTestPage.aspx.cs" Inherits="MailTestPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0">
<tr>
<td><b>Your Email:</b></td>
<td><asp:TextBox runat="server" ID="UsersEmail" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td><b>Subject:</b></td>
<td><asp:TextBox runat="server" ID="Subject" Columns="30"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
<b>Body:</b><br />
<asp:TextBox runat="server" ID="Body" TextMode="MultiLine" Columns="55" Rows="10"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button runat="server" ID="SendEmail" Text="Send E-mail"
onclick="SendEmail_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>


MailTestPage.aspx.cs
-------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;

public partial class MailTestPage : System.Web.UI.Page
{
protected void SendEmail_Click(object sender, System.EventArgs e)
{
const string ToAddress = "emerald77@att.net";
MailMessage mm = new MailMessage(UsersEmail.Text, ToAddress);
mm.Subject = Subject.Text;
mm.Body = Body.Text;
mm.IsBodyHtml = false;
SmtpClient smtp = new SmtpClient();
//(use the Web.config settings)
smtp.Send(mm);
}
}

web.config
-------------
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>
</configuration>

After I create the e-mail message and click the "Send E-mail" button, it takes about 15 seconds before smtp4dev displays the following Session log:

220 localhost smtp4dev ready
EHLO mickey
250-Nice to meet you.
250-8BITMIME
250-STARTTLS
250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250-AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 SIZE
MAIL FROM:<test@domain.com>
250 Okey dokey
RCPT TO:<emerald77@att.net>
250 Recipient accepted
RSET

However, the e-mail message does not show up under the "Messages" tab of smtp4dev. I'm not sure if the problem is due to pilot error or there is a bug in smtp4dev.

Thanks in advance for any assistance with this issue.
Bob
Comments: ** Comment from web user: spongeboy **

I was getting this same error with DevNullSmtp (a similar Java app). Whilst turning on and off a SMTP server, I got an error message from "Symantec Email Proxy", which pointed me to the solution-

Disable SYMANTEC INTERNET EMAIL AUTO-PROTECT

1. Open Symantec Endpoint Protection Manager
2. Click "Options" for "Virus and Spyware Protection"
3. Go to "Internet Email Auto-Protect" tab
4. Uncheck "Enable Internet Email Auto-Protect"


Commented Issue: Same problem as Issue # 6080 with smtp4dev v2.0.9. [7512]

$
0
0
Thanks for developing a badly needed product!!

I have the same problem as Issue # 6080: No message appears in the message panel and a session appears about 15 seconds after executing the smtp command.

I am running smtp4dev version 2.0.9 (installed Dec 1, 2011) on Windows Vista Business (32bit) with all Microsoft updates installed. My Windows Firewall is turned off and my Norton Internet Security firewall is also turned off.

The test I ran was using code that I copied from Issue # 6080. I only made some minor changes. The attached text file contains MailTestPage.aspx, MailTestPage.cs, web.config, and the session log results from the last test run.

Please tell me what I am doing wrong.

========================================================
2011-12-01 Issue Details

======================================
Here is the MailTestPage.aspx file:
======================================
<%@ Page Language="C#" Debug="true" AutoEventWireup="true" CodeFile="MailTestPage.aspx.cs"
Inherits="MailTestPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table border="0">
<tr>
<td>
<b>Your Email:</b>
</td>
<td>
<asp:TextBox runat="server" ID="UsersEmail" Columns="30">richhowland@netzero.net</asp:TextBox>
</td>
</tr>
<tr>
<td>
<b>Subject:</b>
</td>
<td>
<asp:TextBox runat="server" ID="Subject" Columns="30">This is the subject line.</asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2">
<b>Body:</b><br />
<asp:TextBox runat="server" ID="Body" TextMode="MultiLine" Columns="55" Rows="10">This is the body

text.</asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button runat="server" ID="SendEmail" Text="Send E-mail" OnClick="SendEmail_Click" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>

=========================================
Here is the MailTestPage.cs file:
=========================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;

public partial class MailTestPage : System.Web.UI.Page
{
protected void SendEmail_Click(object sender, System.EventArgs e)
{
const string ToAddress = "richhowland@netzero.net";
MailMessage mm = new MailMessage("richhowland@netzero.net", ToAddress);
mm.Subject = Subject.Text;
mm.Body = Body.Text;
mm.IsBodyHtml = false;
SmtpClient smtp = new SmtpClient();
//(use the Web.config settings)
smtp.Send(mm);
}
}


==========================================
Here is my web.config file:
==========================================

<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="localhost" port="25"/>
</smtp>
</mailSettings>
</system.net>
</configuration>

==========================================
Here is my log message:
==========================================

220 localhost smtp4dev ready
EHLO DEVSYS20
250-Nice to meet you.
250-8BITMIME
250-STARTTLS
250-AUTH=CRAM-MD5 PLAIN LOGIN ANONYMOUS
250-AUTH CRAM-MD5 PLAIN LOGIN ANONYMOUS
250 SIZE
MAIL FROM:<richhowland@netzero.net>
250 Okey dokey
RCPT TO:<richhowland@netzero.net>
250 Recipient accepted
RSET
250 Rset completed
Comments: ** Comment from web user: spongeboy **

I've added some comments to 8060. I had the same issue, cause was Symantec Internet Email Auto-Protect.

Disable SYMANTEC INTERNET EMAIL AUTO-PROTECT

1. Open Symantec Endpoint Protection Manager
2. Click "Options" for "Virus and Spyware Protection"
3. Go to "Internet Email Auto-Protect" tab
4. Uncheck "Enable Internet Email Auto-Protect"

Created Issue: feature request [7982]

$
0
0
would really like to be able to see all attributes of the email
CC/BCC

BCC is the reason for me writing this, sure there are more than just CC/BCC that would be helpful.

Created Issue: Save All Emails [8001]

$
0
0
Currently you have the ability to save all the emails you receive individually, but it would be nice for a "Save All" button where it saves the emails you select into some *target* folder.

Commented Issue: net_io_connectionclosed? [5767]

$
0
0
I sometimes get an application exception: Unable to read data from the transport connection: net_io_connectionclosed.

I'm unable to reproduce consistently, and usually retrying the email fixes it.
Comments: ** Comment from web user: gleeds **

I have run into this issue too, it happens pretty consistently if you send several emails in rapid succession. I'm testing a windows service that sends batches of emails and I usually have this happen after a few emails.

Commented Issue: net_io_connectionclosed? [5767]

$
0
0
I sometimes get an application exception: Unable to read data from the transport connection: net_io_connectionclosed.

I'm unable to reproduce consistently, and usually retrying the email fixes it.
Comments: ** Comment from web user: bsmithza **

I also had this problem. It looks like it's related to the number of emails you save in smtp4dev and consequently the memory usage of smtp4dev, and *possibly* the amount of available memory on your machine (I did not have much available after SMTP4Dev was running).

My bulk mailing app handles large volumes ( a few thousand) with small attachments so I set the smpt4dev to keep 10000 emails for testing purposes. It handles SMTP errors returned, so starts a new smtp session and re-sends the email which then succeeds. But the important thing is I can then see this error occurring repeatedly and at random, although the trend is that the longer smtp4dev runs it becomes more frequent.

I found that this occurs especially once a high volume of emails (a few hundred) has been sent and saved in smpt4dev. The smpt4dev executable size in memory grows to around 400MB depending on the email size. Once I had about 1000 saved emails it was only managing to send 1 email before generating this error and having to start a new smtp session.

While my bulk mailer was running and this error was occurring I deleted most of the saved emails in smtp4dev and immediately the next session handled 158 mails before encountering the same problem.

I saw the 2.1 alpha release has a facility to instead save the messages to a folder, so I installed this and set it to use folder. Not only do I not get the error anymore but I also found the email throughput was 10 fold faster. I also noticed that the smtp4dev executable is nowhere near as large as 400MB after processing 1000 emails, its around 25MB.

So its fair to say this issue is really addressed by the 2.1 Alpha release. And a big thumbs up for the alpha release :)

Viewing all 56 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>