Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
The community reviewed whether to reopen this question 5 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
i need to demo an application on my laptop running windows 7 enterprise. The application is supposed to send mail. How can i setup a local smtp server to send mail from and be able to recieve it in my outlook on the machine. I need to be able to do this while not connected to the internet for the demo.
Local smtp only: smtp4dev (similar to papercut)
The application catches everything sent to it, but does not send emails over the internet.
XMail or hMailServer should do the trick.
More details on this previous question.
Papercut is pretty active (last release on Jun 25, 2015):
Ever need to test emails from an application or web site but don't want them accidently being sent or having to deal with the hassle of setting up a test email server? Papercut is a quick email viewer with a built-in SMTP server designed to only receive messages. It doesn't enforce any restrictions how you send your email. It allows you to view the whole email-chilada: body, html, headers, attachment down to the naughty raw bits. It can be set to run on startup and sits quietly minimized in the tray giving you a balloon popup when a new message arrives.
You can also try smtp4dev:
A dummy SMTP server for Windows, Linux, Mac OS-X (and maybe elsewhere where .NET Core is available)
You can also (for a demo) user the 'specifiedPickupDirectory' setting to leverage the same code, but drop the email message off to a local folder, alleviating the need for an actual SMTP server, but being able to demonstrate that the email is generated as expected.
MSDN: http://msdn.microsoft.com/en-us/library/ms164241.aspx
As for me the best option is
https://www.npmjs.com/package/maildev
A painless smtp server running on node. Therefore you need to install node, but it actually send an email to any smtp server.
You can send email using Telnet or implement the protocol using socket programming.
Refer to http://www.softwareandfinance.com/Visual_CPP/TelnetEmail.html
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have free Oracle Cloud always free instance. I was not able to connect to it by ssh and it looks like it was stopped.
I cannot re-run it. I get:
Unable to start instance: Instance ocid1.instance.oc1.eu-frankfurt-1.antheljscauatxycmb7qvp36l6jmfffvhfjqspjo6zz3xzbjletwexs7fvsa is disabled and will not accept any action requests. Please contact customer support to reenable.
Customer support doesn't work. Any idea what to do and why it was stopped ?
Is that an ampere A1 flex instance that was stopped? are you within the initial 30 days free trail or it got expired?
I discovered the same issue today with my always-free VM. This Redit post from a few months back is really helpful.
The solution is to create a backup of the boot volume, then terminate the stopped VM instance without deleting the associated boot volume, and finally create a new instance matching the specs of the original VM using the "Create Instance" option from the boot volume page.
The Redit post provides a nice, clear set of instructions. Worked perfectly for me.
As to the reason for Oracle disabling the instance in the first place, #Anupam's answer is very helpful, though I'm not sure where this info came from. I certainly didn't get a heads-up email like the one sent out when Oracle indicated they were going to pause my transaction database.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am currently using bluehost as a webhost for my website, but I am not a fan of their email client. When I log into their mail client it presents me with three options to use and they are all rather unappealing (visually)...
Is there a way that I can make mail.MYURL.com and create my own custom mail client?
I have searched the web and couldn't find anything, but there should be a way...
If I needed to I could use php & javascript, but I have no idea where to start.
You can. There are a lot of webmail implementation (in form of web apps, think Wordpress) such as Squirrelmail or Roundcube.
Serverfreak does a visual comparison of popular webmail clients here:
http://wow.serverfreak.com/2011/webmail-squirrelmail-roundcube-horde/
Those webmails typically requires server side scripting (such as PHP) and POP3/IMAP support to retrieve your mail. Both are pretty much standard features for a webhost. So if you are comfortable of setting up web apps, things shouldn't be that hard.
That said you're using Bluehost which happens to use CPanel. CPanel offers various webmail options readily chosen at your disposal.
See Bluehost official guide on how to use them:
https://my.bluehost.com/cgi/help/webmail
Alternatively, since you are concerned about visual appeal, you can always use desktop e-mail client such as Thunderbird/Outlook, or even use popular webmail such as GMail (via Google Apps) and Windows Live Mail (via Live hosted mail) mapped to your own domain name.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Here is a simplifed example.
I have a c program that runs as a daemon on an embedded linux system. For example we will say the program is a calculator that just does addition.
When someone starts the program, I would like a web server to be launched on the system that allows people to remotely use the calculator. The webserver will just serve a simple html page with 1 button "solve" and two input boxes. When someone clicks solve the numbers in the text box need to be sent to the c program, and then the solution needs to be sent back to the web server and displayed on the website.
I hope this isn't overly broad, but I'm just looking for what technologies would be used to accomplish this and a brief overview of how they interact, and hopefully I can take it from there and start digging in.
You don't need to start an external web server. Since your app is a deamon, you could use some HTTP server library inside your application -i.e. have an embedded HTTP server thru that library, e.g. D.Moreno's libonion, GNU libmicrohttpd, EHS, Mongoose etc..
If you already have an external web server, you could configure it to proxy your internal application web service, or make your application a FastCgi (or maybe SCGI) server.
PS. You need to be familiar with HTML5, HTTP, POST request of HTTP, ...
As the interaction is taken place between processes, I think you need interprocess communication mechanism here. However, you may not allowed to change the code of webserver. Here's some thing may help you:
Use database (mysql) which you can use sql to insert/fetch data both sides.
If you use Php or someother script language, try Sockets
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Today, I signed up for a web host at JustHost, and registered for my domain name at NetFirms. JustHost told me to enter NS1.JUSTHOST.COM and NS2.JUSTHOST.COM as my DNS Namespace at NetFirms to redirect the website to point to my JustHost server. My question is how would NetFirms understand which account at JustHost is mine as I provided a general address that did not contain any information about my account?
I apologize if I have used any incorrect terminology as I don't quite understand exactly how the internet works yet.
What you entered is the DNS server information. The web hosting company already know which IP address(es) they put you on, and that's all that DNS does; resolve host names to IP addresses (and vice versa, if they set you up properly). The domain registrar doesn't care where your web server is (or even what sort of services you offer; it could be SMTP, or IMAP, or several, or none at all); all they need to know is where to send those who want to ask.
Once someone who obtained your IP address from the DNS server connects to the www server on that IP address, the client sends the URL it is requesting, which is then resolved by the server. (The original HTTP spec didn't include the host name part of the URL in the request, so technically the request puts the host name part in the Host: attribute if the request, not the main request line. I don't imagine this detail has any significance for you, but in case you will be reading up on virtual hosting, this might help understand it.)
I would comment this, but I don't have the option to yet.
Does Justhost give you an option to add in a hosted domain? Once you point the DNS to Justhost, you should just be able to add in the domain as a hosted domain on Justhost and it should work from there. (It may take up to 24 hours as the DNS change propogates).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
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 rather than delivering them, but you cannot tell at this point whether the message will be relayed or not.
What further tests can I do to determine if the server has an open relay?
Eh? As your link tells you, register for the site and it will give you an address #abuse.net, valid for 24 hours. Enter that address into the testing form. If your abuse.net account receives the test email, you have an open relay.
You could try setting up a email client to sent email through your server, from an email address that isn't hosted on the same server. If you can successfuly send mail, from an email address at a different domain, without entering a login and password for your SMTP server, then it's probably an open relay.
This depends on your MTA and how you've configured it. Ultimately there is only one thing you must do to prevent relaying. Restrict relaying to authenticated users and/or restrict relaying to specific IPs. I prefer to restrict all IPs except localhost on my mail server and require authentication from everyone else.
The common mistake is to allow more IPs than necessary. Imagine a user on a cable modem who decides to allow the roommate's laptop to relay with the statement 192.168.1.0/24 rather than the more specific 192.168.1.0/29. Now anyone else on the /24 can relay off the server.