fabulous Level: VB Guru Registered: 03-08-2002 Posts: 439
Configuring SMTP Virtual Server
OK, so I have a couple of programs in VB.NET and C# that send email using the SmtpMail.Send(msg); method.
At first this worked just fine. Then all of a sudden when working on an ASP.NET application it reported success but the email never reaches its destination.
I played around with a few settings and was delighted when I started getting some truthful feedback, i.e. "The server rejected the sender address". Of course we had a little discussion with my PC since I am the only user and it should not reject my address.
A few more settings which I cannot remember and then it started rejecting one or more recepient addresses. Which is terrible. Another heated debate with me trying to convince it that the point of sending email was for someone to receive it. At one point the desktop one in C# was working and the ASP.NET ones in VB.NET and C# were not. Can't figure out why.
A few more settings and then it started reporting success, or at least not saying anything about exceptions. But once agaiin there is no email arriving any where I send. I searched Google for articles on SMTP virtual server found millions but couldn't read them all. I followed all the ones I read but it has brought back the rejection business.
I tried to play somemore but it isn't going anywhere. Someone finished the project for me, but I still cannot get my SMTP virtual server to work. Does anyone know what causes this (the documentation was too vague for me - couldn't get any info on the particular error I was getting.).
If this persists, does anyone know where I can get a good SMTP server (preferrably one that I don't have to pay too much or anything for).
Thank you in advance.
____________________________
My boss is a Jewish Carpenter (Jesus Christ)
Brain Bench Certified VB.NET Developer
31-01-2004 at 10:21 PM
|
vbgen Level: Moderator Registered: 10-10-2002 Posts: 876
Re: Configuring SMTP Virtual Server
well, what are you using it for? just sending mail, right?
and what are you using currently?
there are free smtp servers, as well as pop3 servers over the net.. you should do a search at yahoo..
____________________________
Been busy trying to take a second degree <--it's not working out...
05-02-2004 at 06:36 PM
|
fabulous Level: VB Guru Registered: 03-08-2002 Posts: 439
Re: Configuring SMTP Virtual Server
Thanks vbgen. I will certainly look for one of those. Too many hassles. I am just using it to send email but it is not a nice experience.
Funny enough, last night I send an email to zimcoder using the program I referred to. I had been sending it to myself getting positive confirmation but no email came to my inbox. Silly item. I was surprised when I received a reply from him saying that "I guess it's working."
Can't figure out what went right, especially if I didn't change any code and also I can't figure out why it rejects my address. Really silly I tell you. The moment I find an easier one to manage I will be a happy man. Thanks a lot for your help. I look forward to having some happy coding.
____________________________
My boss is a Jewish Carpenter (Jesus Christ)