CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Alternatives to Smtp Mail relaying

    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

  2. #2

    Re: Alternatives to Smtp Mail relaying

    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.

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: Alternatives to Smtp Mail relaying

    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

  4. #4

    Re: Alternatives to Smtp Mail relaying

    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 ****)

  5. #5
    Join Date
    Jun 2003
    Location
    Toronto
    Posts
    805

    Re: Alternatives to Smtp Mail relaying

    thanks, looks like cgi it is!

    <wishing i could swap hosts>

    mcm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured