Last post Sep 05, 2008 03:52 PM by fsscvmc
Sep 03, 2008 05:46 PM|fsscvmc|LINK
I'm having trouble getting the email functions to work in the classifieds starter kit. In fact, I have no idea what I'm doing.
Here is what im running
Windows Server 2003 EE SP2
VWD 2005 Express
SQL Server 2005
What exactly are the minimum requirements to get the SMTP up and running?
Sep 03, 2008 10:08 PM|gavinharriss|LINK
You need an SMTP server / service of some type to send emails.
Do you have an SMTP provider you can plug in to, e.g. an account provided by your web hosting company?
If you're just testing and don't need a live SMTP service you should be able to install Windows 2003's SMTP service. It should be possible to see emails generated dropped into a folder on the server to read manually. Or install Free SMTP Server to test with
You'll also need to set the SMTP service details in the relevant section n the web.config file.
Hope that gives you some ideas to explore ;)
Sep 04, 2008 12:17 PM|fsscvmc|LINK
We are using a local server with SMTP Service install and a default domain that we assigned an IP and port. We setup the SMTP settings through the ASP.net Configuration tool in VWD. It changed things for us in the web.config
It seems like we did everything, are there any other settings or things on the hardware side that are required?
Sep 04, 2008 04:08 PM|gavinharriss|LINK
Is it possible there's a firewall issue at play?
What's the error message stack you're getting? Perhaps this will help diagnose the problem.
Sep 04, 2008 05:36 PM|fsscvmc|LINK
so we tested our smtp server and it is properly sending out mail but we still can not get the site to properly send out anything. I'm not sure if it is producing any log files.
Sep 04, 2008 06:02 PM|gavinharriss|LINK
So you're not getting an ASP.NET error of any description then from the web site itself? I'm not familiar with the Classifieds Starter Kit... it doesn't log errors itself and hide them from the user does it?
If there's no ASP.NET error reported then the the problem is likely to be once the email has been passed on to the SMTP server?
Sep 04, 2008 10:11 PM|darkknight187|LINK
This is what I use, and the only difference that I have to switch when test is,
when I'm testing off of my local computer I use gmail.
Which requires me to enable ssl.
Try this, with and without ssl enabled.
m.Subject = EmailSubject
Sep 05, 2008 11:58 AM|fsscvmc|LINK
so we got it to work (my coworkers figured it out before i got it). but for some reason, if we put in our emails (government addresses) the website refuses to send it.
Sep 05, 2008 03:03 PM|gavinharriss|LINK
Maybe need to set up an alias for the domain that isn't working?
Sep 05, 2008 03:52 PM|fsscvmc|LINK
actually our office is blocking email using our own emails (spoofing filter) so i fixed it by hardcoding a random unblocked email address into the Sender category and appended the email of the person sending it to the bottom of the message body.
We set up the SMTP on the test server then we matched the settings on our actual running server. Everything is sending fine and coming in instantly. The page is saying "email sent successfully" but the person we are sending it to is not getting anything.
I know we are actually relaying our email through another server in another building. Maybe it takes some time to validate the virtual SMTP?
EDIT: I have a feeling this may be due to the fact that we have a separate NIC card on the big server and maybe the NIC is blocking the emails for some reason