Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 21st, 2004, 06:22 AM
watersk watersk is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 5 watersk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sending email through specific server

Hiya

I am trying to send mails from a website that has been set up
for a project. The emails will not send to outside of the network
because of the firewall.

The code is as follows:
If Len(HRM & "") > 0 then
Set Mail=Server.CreateObject("CDONTS.NewMail")

Mail.To= HRM
Mail.From = "test@test.com"
Mail.Subject="Thank you for showing interest in our HRM survey"
mail.body = "Hello, this is to be filled out" & vbcrlf
Mail.Send()
Set Mail=nothing
end if

NOTE: HRM is a email address taken in from a form on the site.
This code works for email addresses inside the network. I need to
specify the server and make it go through the network server and
then onto hotmail, yahoo, etc. (I think!!) Does any know if I am
on the right track and if so hwo I go about this?
Any help would be greatly appreciated
Regards
Kar

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Sending email through specific server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway