Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Aspemail cannot work
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Aspemail cannot work

 Post Reply Post Reply
Author
stargate2 View Drop Down
Newbie
Newbie


Joined: 01 August 2005
Location: Singapore
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote stargate2 Quote  Post ReplyReply Direct Link To This Post Topic: Aspemail cannot work
    Posted: 01 August 2005 at 6:15am
Hi
 
I was trying using aspemail to send mail. I got this error
 
Error Type:
Persits.MailSender.4 (0x800A0011)
Access is denied.
/maillist/functions/functions_send_mail.asp, line 392
Back to Top
inmean View Drop Down
Newbie
Newbie


Joined: 30 July 2005
Location: Cambodia
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote inmean Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2005 at 10:33am
Maybe you should talk to your web hosting provider for permision, some hosting required you to verify your email user/password to be able to send email out.
 
You should talk to your provider for that.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2005 at 11:46am
You probably need to authenticate with a login and password for an email account on the mailserver.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
awen View Drop Down
Newbie
Newbie
Avatar

Joined: 01 August 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote awen Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2005 at 1:45pm
dpyers is exactly correct.  Here's what I did for a quick fix.

edit the file: functions/functions_send_mail.asp

Go down to the Persits ASPEmail section.
Add the following lines just below the line that reads "With objAspEmail"

                'Mailbox Access
                .Username = "ottomail@somedomain.com"
                .Password = "somepassword"

Be sure to change the Username and password values to the actual username and password for them mailbox you are using.

Also do the same for admin/functions/functions_send_mail.asp

Worked like a charm for me.
Back to Top
stargate2 View Drop Down
Newbie
Newbie


Joined: 01 August 2005
Location: Singapore
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote stargate2 Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2005 at 10:08pm
Hi,
 
I am using my own server so it has nothing to do with provider.
As for email authentication, I am using hotpop.com which does not need authentication. Even I added the username and password it still does not work.
 
the ASPemail works when I am using the Simple.asp provided by aspemail installation script.
 
I also notice a few things.
When I comment out the .queue, I got this error.
 
Error Type:
Persits.MailSender.4 (0x800A0006)
535 Error: authentication failed
/maillist/functions/functions_send_mail.asp, line 392
Now I get really confused Cry
Back to Top
stargate2 View Drop Down
Newbie
Newbie


Joined: 01 August 2005
Location: Singapore
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote stargate2 Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2005 at 5:26am
Hi
 
I am using my own server so it is not a permission problem since i am using administrator login.
 
Tried using
                'Mai lbox Access
                '.Username = "ottomail@somedomain.com"
                '.Password = "somepassword"
Still have the same error. I am using hotpop and it does not actually need a password authentication.
 
My aspemail installation should be ok since I have already send a mail successfully using Simple.asp from the aspemail installation
 
Anyone can help?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2005 at 6:03am
It looks like a permisisons problem.

Make sure that aspemail has permissions to write to the queue directory on the mail server.

If this fails check the aspemail web site as this is a problem with the email component not being setup correctly rather than a problem with the coding in the forum software.
Back to Top
awen View Drop Down
Newbie
Newbie
Avatar

Joined: 01 August 2005
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote awen Quote  Post ReplyReply Direct Link To This Post Posted: 02 August 2005 at 9:50am
Originally posted by stargate2 stargate2 wrote:

Tried using
                'Mai lbox Access
                '.Username = "ottomail@somedomain.com"
                '.Password = "somepassword"
Still have the same error. I am using hotpop and it does not actually need a password authentication.
 
My aspemail installation should be ok since I have already send a mail successfully using Simple.asp from the aspemail installation
 
Sorry for the stupid question, but I have to ask, did you use the username/password values above, or did you change them to the actual mailbox username/password for the email account you want to send the messages thru?  If the mailbox doesn't exist, or the password is incorrect you will get that error.
 
Also, in the email set up, did you set your mailsever ("mail.somedomain.com") to the correct mailserver?
 
Sorry for these kinds of questions, but more often that not its something small we overlook.
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.