Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to send email on a Network Solutions account

Posted on 2008-09-30
2
Medium Priority
?
1,104 Views
Last Modified: 2012-05-05
Has anyone done any basic ASP mail scripts that worked on a Network Solutions hosted account?
I tried one with CDonts, but don't think I have the correct server info. Does anyone know what should go in this parameter for a Network Solutions server?

objMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
0
Comment
Question by:Mach1pro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
KenAdney earned 2000 total points
ID: 22607438
Haven't worked with a Network Solutions hosted account, but many servers use CDOMessage instead of CDONTS.

for instance:
Set objCDOMessage = Server.CreateObject("CDO.Message")
' creates the object
objCDOMessage.From = request.form("email")  ' the address listed as "From"
objCDOMessage.To =  "somebody@somewhere.com" ' the address listed as "To"
' you could include bcc and cc recipients as well
objCDOMessage.Subject = "Some topic" ' specify the subject header
objCDOMessage.TextBody = request.form("datafield1") & vbcrlf &_
 request.form("datafield2") & vbcrlf &_
 request.form("datafield3")
      'now send the message
objCDOMessage.Send
'wrap things up
Set objCDOMessage = Nothing %>
0
 
LVL 6

Author Closing Comment

by:Mach1pro
ID: 31501613
Your code worked sending an email from their server, so that's all I needed.
Thanks
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question