Reply to All
Show messages
Messages
Inbox
Search
Login
1–10
11–20
21–28
dummy mail server
From: Drew (X3N0PH0N)
25 May 2008 15:28
To: Peter (BOUGHTONP)
2 of 28
34426.2
In reply to
34426.1
">> emails.txt"?
From: Peter (BOUGHTONP)
25 May 2008 15:30
To: Drew (X3N0PH0N)
3 of 28
34426.3
In reply to
34426.2
I don't do C
From: Drew (X3N0PH0N)
25 May 2008 15:33
To: Peter (BOUGHTONP)
4 of 28
34426.4
In reply to
34426.3
I was thinking more of a bash script or sommat. But having thought about it, it wouldn't really work would it as I doubt emails are sent to sendmail as plaintext.
From: Peter (BOUGHTONP)
25 May 2008 15:37
To: Drew (X3N0PH0N)
5 of 28
34426.5
In reply to
34426.4
I'd prefer a Windows solution, so I can develop when I've just got my notebook on me.
Something that just lets me put localhost:25 into the mail config area of Railo, then does the magic for me.
:)
From: Drew (X3N0PH0N)
25 May 2008 15:40
To: Peter (BOUGHTONP)
6 of 28
34426.6
In reply to
34426.5
Well you could set up sendmail and force it to send all emails to you rather than to whoever.
I doubt you're going to find a mail server that's been made to just store stuff locally rather than send. Especially for windows. Though again, sendmail may have that option, I dunno.
From: Peter (BOUGHTONP)
25 May 2008 15:43
To: Drew (X3N0PH0N)
7 of 28
34426.7
In reply to
34426.6
I'm halfway there...
:)
http://www.aboutmyip.com/AboutMyXApp/DevNullSmtp.jsp
A Java SMTP server that redirects everything to /dev/null
That'll do for now, but would be nice to get something that lets me verify my HTML is coming out as intended.
From: sinkywinky
25 May 2008 15:45
To: Peter (BOUGHTONP)
8 of 28
34426.8
In reply to
34426.1
Here's one. In ruby.
http://rubymatt.rubyforge.org/mailtrap/
From: Peter (BOUGHTONP)
25 May 2008 15:45
To: Peter (BOUGHTONP)
9 of 28
34426.9
In reply to
34426.7
Oooh, and that does have an option to save the messages as .eml files.
Perfect.
:)
From: Peter (BOUGHTONP)
25 May 2008 15:47
To: sinkywinky
10 of 28
34426.10
In reply to
34426.8
You needed to be two minutes sooner.
:)
Thanks though, that looks like it would do what I want too.
From: Drew (X3N0PH0N)
25 May 2008 15:48
To: Peter (BOUGHTONP)
11 of 28
34426.11
In reply to
34426.7
Surely you could replicate that just by setting your mail server to /dev/null? Which was going to be my suggestion until you said you wanted to save the content.
Wouldn't it be easier to just (while testing) replace your mail-sending function with a saving-to-html-files function? Rather than sending mails over a net socket to a server which is essentially doing the same thing.