Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6765923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:46:10+00:00 2026-05-26T14:46:10+00:00

I am basically looking for a solution to send a contact form over the

  • 0

I am basically looking for a solution to send a contact form over the web from a website written in asp.net without having to use smtp. This seems like it should be a simple task however it has grown into a complex issue, I should state that asp.net is not my preferred method for building the site so I am not very familiar with sending emails using it, I would have much rather built the site in php. Hosting company will not provide me the smtp server information and I do not have my own. Below is the code I am trying right now:

Sub Send2Mail (sender as Object, e as EventArgs)

Dim objMail as New MailMessage()

    objMail.To = "email@email.com"
  objMail.From = strEmail.Text

  objMail.BodyFormat = MailFormat.Text
  objMail.Priority = MailPriority.Normal
  objMail.Subject = strSubject.Text

  objMail.Body = "Name : " + strName.Text + vbNewLine + "Email : " + strEmail.text + vbnewLine + "Message : " + strYourMsg.text

  SmtpMail.SmtpServer = "localhost"
  SmtpMail.Send(objMail)


  strMessage.Visible = true

End Sub

Is there any alternative to using the SMTP server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:46:11+00:00Added an answer on May 26, 2026 at 2:46 pm

    Eventually you will need access to an SMTP server in order to send the actual email, even if it’s access via another SMTP host.

    In the meantime you could store the data within a specific database table and have that checked regularly.

    Initially this could be done manually, but once you have access to an SMTP server you could have the addition of new rows trigger an email.

    One thing that you must protect against though is the use of bots accessing your contact page and using it to send spam mail or fill up you DB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So basically here's my problem. I'm looking for a solution to allow us to
Basically just looking to see if you can capture an image from the webcam
Basically I'm looking for a solution where a user is notified five minutes before
I'm looking for a solution to a recurring problem I have with form based
Basically I'm looking for a solution which returns if a given combination matches a
I'm looking for a solution for how to be able to extract data from
I'm looking for a solution for a subdomain catch-all url in IIS Express. Basically,
I have written an ASP.NET MVC application that allows the user to specify their
Is there a de-facto solution for ASP.NET MVC 3+ one should use in case
Basically, I am looking for a library solution that does this: #include <boost/type_traits.hpp> template<bool>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.