Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Testing e-mail via aspemail etc.
Old 01-16-2007, 07:07 PM Testing e-mail via aspemail etc.
aeuden's Avatar
Novice Talker

Posts: 14
Trades: 0
Hi all

Two probs

I have nearly finished my new site BUT!!!!

(1) I am trying to find a script / code (ASP preferably) that will allow me to find out if a domain name is available. The only ones i've managed to find are CGI / PHP or Java which I don't understand enough of to customise them to my site.

(2) Problems testing email using asp-email locally on my machine. Everything seems OK when I upload to my host for testing, but I come up with errors all over the place locally even though i'm running the reccommended mailserver. I know this is a bit vauge but I can supply any code that anyone requires.


Web address http://www.lowestoft-business.co.uk

E-mail enquiries@lowestoft-business.co.uk

Thanks in advance

Alun
aeuden is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-17-2007, 06:46 AM Re: Testing e-mail via aspemail etc.
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Trades: 0
Hi,

You Could try http://centralops.net/co/ or http://hexillion.com/

With out details on the errors and being able to see the code, I am not sure I can help.

Regards
Bill Button
http://www.rodmatic.com
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
Old 01-17-2007, 06:48 AM Re: Testing e-mail via aspemail etc.
bbutton's Avatar
Experienced Talker

Posts: 43
Name: Bill Button
Location: Reading,UK
Trades: 0
Hi,

I also forgot to mention you can use HexGadgets to check the domain exists and you can even check that the reciepient exists.

Bill
http://www.rodmatic.com
bbutton is offline
Reply With Quote
View Public Profile Visit bbutton's homepage!
 
Old 01-17-2007, 09:32 AM Re: Testing e-mail via aspemail etc.
aeuden's Avatar
Novice Talker

Posts: 14
Trades: 0
Hi
cheers for the reply - I will check out the links later today

The error I get is below as is the code This only happens when I try to test the code on localhost even though I'm running ASPEmail, so I assume it may be a configuration problem instead of a coding issue(?).

Any thoughts would be gratefully recieved

Cheers


Alun


Error Type:
Microsoft VBScript runtime (0x800A01F4)
Variable is undefined: 'Mail'
/bronze_thanks.asp, line 269


The code

DIM user_pass
DIM user_name
user_name=random_name
user_pass=random_pass


Set Mail = Server.CreateObject("Persits.MailSender") line 269
' enter valid SMTP host
Mail.Host = "10.2.5.10"
Mail.From = "paypal@lowestoft-business.co.uk"

'Response.Write("email="&Session("sub_email"))
Mail.AddAddress Session("sub_email")
Mail.AddCC "mail@lowestoft-business.co.uk"
Mail.Subject = "Your Confirmation"
Mail.IsHTML = True

HTML = "<!DOCTYPE HTML PUBLIC""-//IETF//DTD HTML//EN"">"
HTML = HTML & "<html>"
HTML = HTML & "<head>"
HTML = HTML & "<title>Your Order</title>"
HTML = HTML & "</head>"
HTML = HTML & "<body>"

(Then the rest of the message)

HTML = HTML & "</body>"
HTML = HTML & "</html>"

Mail.Body=HTML
Mail.Send
Set Mail=nothing
aeuden is offline
Reply With Quote
View Public Profile
 
Old 01-18-2007, 07:14 AM Re: Testing e-mail via aspemail etc.
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Make usre you have installed this component Persits.MailSender or registerd its .dll using regsvr32 command.
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Old 01-18-2007, 12:13 PM Re: Testing e-mail via aspemail etc.
aeuden's Avatar
Novice Talker

Posts: 14
Trades: 0
OK got e-mail working (Thanks - just registering the .dll - how simple!!)

Still trying to find a script that will do a domain lookup and find out if it is available or not - using ASP (the whole site is ASP driven!) - preferably without using a third party component. I found a couple but they use IFrames which I would like to avoid as they won't fit into the space on the site.

Alun
aeuden is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 10:51 AM Re: Testing e-mail via aspemail etc.
Junior Talker

Posts: 2
Trades: 0
I would like to revive this thread, if possible, as I am having a problem sending email through my test server (my computer).

I installed ASPEmail into c:\Inetpub\ASPEmail without a problem. I then went to the command prompt, navigated to c:\Inetpub\ASPEmail and entered "regsvr Bin/aspemail.dll", receiving the response, "DllRegisterServer in aspemail.dll succeeded." I then went to the Control Panel and double-clicked EmailAgent. I made the Current Status "Go" and changed the SMTP Relay through to "localhost."

However, in my test program (which works remotely), on the line that executes Mail.Send ("Mail" being the object), I get the runtime error, "550 5.7.1 Unable to relay." I am using Mail.Host = "localhost".

I am not well versed when it comes to the server side of things, so if anyone knows what I should do next then I would greatly appreciate some assistance.

Cheers -

george

Last edited by GLSmyth; 03-08-2007 at 11:15 AM..
GLSmyth is offline
Reply With Quote
View Public Profile
 
Old 03-08-2007, 04:18 PM Re: Testing e-mail via aspemail etc.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
what mail server is installed on localhost ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-08-2007, 05:20 PM Re: Testing e-mail via aspemail etc.
Junior Talker

Posts: 2
Trades: 0
I found the answer - I was not passing authentication so it was not allowing relay. Thanks for responding.

Cheers -

george
GLSmyth is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Testing e-mail via aspemail etc.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28454 seconds with 12 queries