Author |
Topic  |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 25 October 2000 : 11:16:35
|
I have been trying to work out why I can't see the 'Send to a Friend' option on my test site. I have tried both admin options of requiring user to be logged in and not requiring login and still I do not get presented with this option in any of the topics.
Why? Thanks.
KatsKorner |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 25 October 2000 : 11:20:15
|
Do you have e-mail mode turned on from the e-mail server configuration page under admin options?
Edited by - Richard Kinser on 25 October 2000 11:22:36 |
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 25 October 2000 : 11:33:10
|
No I don't because I don't know which one from the list applies to our mail (OCXQMAIL)???
I turned it on using ASPQMAIL and then filled out the form, tried to send it and got:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/inc_mail.asp, line 69
Invalid class string
KatsKorner
Edited by - Kat on 25 October 2000 11:35:31 |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 25 October 2000 : 11:40:22
|
What version of Snitz Forums 2000 are you using? I can add OCXQMAIL to the list of e-mail components and then let you try it and see if it works.
Just let me know which version of Snitz Forums 2000 you are using and I'll edit the necessary files and put them up for you to download. |
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 25 October 2000 : 11:42:28
|
I am using release 2 - I downloaded it yesterday from your home page.
Thanks very much and lets hope it works!
KatsKorner |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 25 October 2000 : 12:19:03
|
http://www1.domaindlx.com/dssdbs/files/ocxqmail.zip
Just unzip the two files into your /forum directory overwriting the current files.
Then just go into E-Mail Server Configuration from the Admin Options page and setup the SMTP server and select the ocxQmail as the component and make sure you select E-Mail Mode as on.
I don't have this component installed so I have not tested it. But if it doesn't work. I can try to install the trial version on my server and see if I can get it to work. |
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 26 October 2000 : 04:25:29
|
I tried the files you sent and set up the config correctly. At the first try, I got this error:
Microsoft VBScript compilation error '800a0414'
Cannot use parentheses when calling a Sub
/inc_mail.asp, line 166
) -^
To fix it I went into inc_mail.asp and removed the parentheses from around the call to ocxQMail because sure enough - it is a Sub not a Function.Thanks very much for your help on this. My problem is now resolved!
Until the next one of course!
Cheers.
KatsKorner |
 |
|
RichardKinser
Snitz Forums Admin
    
USA
16655 Posts |
Posted - 26 October 2000 : 04:45:06
|
So it looks like this now?
<pre id=code><font face=courier size=2 id=code> case "ocxqmail" Set objNewMail = Server.CreateObject("ocxQmail.ocxQmailCtrl.1") mailServer = strMailServer FromName = strFromName FromAddress = strSender priority = "" returnReceipt = "" toAddressList = strRecipients ccAddressList = "" bccAddressList = "" attachmentList = "" messageSubject = strSubject messageText = strMessage on error resume next '## Ignore Errors objNewMail.Q mailServer, _ fromName, _ fromAddress, _ priority, _ returnReceipt, _ toAddressList, _ ccAddressList, _ bccAddressList, _ attachmentList, _ messageSubject, _ messageText _ If Err <> 0 Then Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>" End if</font id=code></pre id=code> |
 |
|
Kat
Advanced Member
    
United Kingdom
3065 Posts |
Posted - 26 October 2000 : 04:57:59
|
Yes except that you don't need the last continuation after the last parameter.
on error resume next '## Ignore Errors objNewMail.Q mailServer,_ fromName, _ fromAddress, _ priority, _ returnReceipt, _ toAddressList, _ ccAddressList, _ bccAddressList, _ attachmentList, _ messageSubject, _ messageText If Err <> 0 Then
Thanks again!
KatsKorner |
 |
|
Reinsnitz
Snitz Forums Admin
    
USA
3545 Posts |
Posted - 26 October 2000 : 10:54:22
|
will get this in today
<center>Reinsnitz (Mike) <font color=red>><)))'></font id=red>
<font color=green>"<font color=red>I no longer call you servants, because a servant does not know his master's business. Instead I have called you friends...</font id=red>" -- John 15:15</font id=green></center> |
 |
|
|
Topic  |
|