Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASPEmail Help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASPEmail Help

 Post Reply Post Reply
Author
kenn View Drop Down
Newbie
Newbie
Avatar

Joined: 09 September 2002
Location: United Kingdom
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote kenn Quote  Post ReplyReply Direct Link To This Post Topic: ASPEmail Help
    Posted: 29 July 2003 at 1:45pm

I am trying to get my script to send me an email using aspemail after it has entered data into a database.The scrips below work fine using an access 2000 db and enter the data great however I have tried several ways to send the email after the data has been entered but to no avail can anyone help.

Many thanks Kenn

Have now worked it out and the form is working great.

Many thanks Blair for your suggestion.



Edited by kenn
Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2003 at 9:33pm

If you are wanting to use the ASPEmail component, the following code works:

 Set objMail      = Server.CreateObject("Persits.MailSender")

objMail.Host = (mail server address)
objMail.From = (email address mail is from)
objMail.FromName = (name of person sending the email)

objMail.AddAddress (email address to send to), (name of person to send to)
objMail.Subject = (subject of email)
objMail.Body = (body text of email)

objMail.Send

For more information, you could try the website (http://www.aspemail.com)

Hope this helped,
Blair



Edited by b_bonnett
Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
Bullschmidt View Drop Down
Groupie
Groupie


Joined: 31 May 2003
Location: United States
Status: Offline
Points: 72
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bullschmidt Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2003 at 10:21pm
I bet the recordset was closed and then you were trying to refer to fields in the recordset...
J. Paul Schmidt, Freelance ASP Web Developer
www.Bullschmidt.com
Classic ASP Design Tips, ASP Web Database Sample (Freely Downloadable)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.