3

SMTP server that can save / display send e-mails instead of sending them?

 2 years ago
source link: https://www.codesd.com/item/smtp-server-that-can-save-display-send-e-mails-instead-of-sending-them.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SMTP server that can save / display send e-mails instead of sending them?

advertisements

I'm looking for a SMTP server for windows which would help me debug email sending in my web applications. Preferably some soft which instead of sending emails would let me see them or just save them somewere.

Normally I have a flag in apps which makes them showing emails instead of sending it, but now I have to debug a large project PHP with not wrapper around email() used :/

thanks!


Just use "The Python":

Download Python 2.7 from http://python.org/, then go to command line and write:

C:\> C:\Python27\python -m smtpd -d 0.0.0.0:25

Doing this you'll be importing smptd module and getting debug output through the console. If you don't specify an outgoing SMTP server (because using this mode it works like a proxy), any mail you try to send, will be discarded, but you'll see it into the console.

Good luck!

Related Articles

Can each SMTP server that can receive mail be able to send notifications of failure?

I am thinking about implementing my own SMTP server that can receive mail and store it. As this is a small hobby project, I'd prefer to keep the code simple – so, for example, I don't want to implement logic for sending mail. However, the following s

Python SMTP server that can receive a MIME attachment

I want to implement a simple email server just like amazon kindle mail server does for ebook convert. User mail me doc as attachment. Mail server will retrieve and store those doc. Maybe response back to sender about the convert result, simply succes

How to implement a popup popup that can be displayed on any other application in Android

How can I implement a popup overlay for an app that can be displayed over any other app. Facebook implemented a very similar feature called Chatheads in its new Facebook Messanger version. I was really surprised to see that this is some how possible.

Can anyone tell me any SMTP server that I can use to send an e-mail from my php page?

i also want know how to authenticate and use Google SMTP server.Use gmail with these settings: smtp: smtp.gmail.com port : 587 user: your gmail email address pass: your gmail password You can use SwiftMailer amongst others to send your email from you

how to configure an SMTP server in Windows XP to send emails to Gmail?

forgive my ignorance, I thought it was going to be a no-brainer but I still couldn't figure it out I'm using redmine (is a ticket system made with rails) and it has the option of sending you mails to notify events. So far now I could not configure a

Create a Node JS server that stores and displays data based on the day of the week

I need to create a function that can display a metric pulled at different hours of the day from an outside source one week ago. The way I have my server currently set up is using a method that pulls a metric from an outside source at the hours of 6 a

Is there a way to force GMail / Google Apps SMTP server not to save sent messages?

Perhaps a special command or message header in order to be able to tell Google to not store a message sent using their SMTP server in the respective user's Sent mailbox.There is no way to prevent the message from being saved to Sent. However, you can

Creating a Terminal Server that can be saved to CSV or Excel

I apologize if this has been asked before but I cannot determine a search term to find it. We have barcode scanners which we would like to use for inventory control but our point of sale / inventory system is not equipped to handle the type of invent

Is there a Web server that can be integrated into an ASP.NET MVC3 application?

Is there a web server I can embed with an ASP.NET MVC3 application? The goal is to setup an installer where the user does not need to setup the web application on IIS, etc. The installer will install a web server configure it to listen to some port a

proxy server that can handle http and https - java requests

i am here looking for resources or sample code for proxy server which can handle both http and https requests written in java. i searched google and found lot of data on how to handle http requests but not https.A proxy cannot handle HTTPS and still

Are there any Java virtual machines that can save their state to a file and reload that state?

Are there any Java VMs which can save their state to a file and then reload that state? If so, which ones?Another option, which may or may not be relevant in your case, is to run the JVM (any JVM) inside a virtual machine. Most virtual machines offer

I need a jabber server that can handle a lot of people and running Linux

Me and a partner are building a social network, one of the key components is a chat system. We'd like to use jabber. I'm totally lost when it comes to xmpp. I'm trying to find a server that is fast and can handle a very large number of users, very ve

maximum number of rows that can be displayed on tableview

I would like know the limit of maximum number of rows that can be shown in the UItableView. Thanks in advance.There seems to be no maximum. You don't insert actively anyway, you just implement the delegate methods to serve the cells - they are not lo

& Ldquo; Internet Explorer can not display web page & rdquo; Instead of YSOD?

When testing my ASP.NET MVC 3 app in Internet Explorer 9, I get the generic "Internet Explorer cannot display the webpage" error instead of the Yellow Screen. The errors get thrown to the Event Viewer though. How can I get my Yellow Screen back

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK