Click to See Complete Forum and Search --> : Alternatives to Smtp Mail relaying


mcmcom
February 1st, 2005, 04:55 PM
My hosting company disallows smtp mail relay on our mail server even with an email address coming from and to the domain. I was wondering what alternatives I can use to automate emails on my asp.net application.

I have a user registration form. I usually use a sendEmail method i wrote in C# that relays a created mail message to a user and the site admin. Since i can't relay i i was wondering what else i could use?

Thanks in advance.
mcm

mmetzger
February 1st, 2005, 10:09 PM
You can specify any given SMTP server when using the Web.Mail namespace. If you can find one that permits relay as such, you can likely send the email. Otherwise, there's just not a way around the base issue.

mcmcom
February 1st, 2005, 11:43 PM
unfortunately finding smtp servers that allow anonymous relay is harder to find than it may seem. And permission is required before you go through with that. What else can be done (aside from hi-jacking the users mail program) to send some form of notification of registration.

It would be nice to send the user an email as well, any ideas? This particular host is running a NT partition on unix so could i use a CGI script or something?

thanks for the reply,

mcm

mmetzger
February 2nd, 2005, 04:35 AM
If you can access a cgi, you can always redirect to that page with pertinent info in GET / POST variables. That page could then send the e-mail via more traditional cgi methods.

Otherwise, get another web host... (I just bought 1yr's worth of reasonable space / transfer for $10 off ****)

mcmcom
February 2nd, 2005, 04:39 AM
thanks, looks like cgi it is!

<wishing i could swap hosts>

mcm