[SOLVED] Â CDOSYS instead of SMTP |
4/10/2007 18:07:28 | |
| ASPRunnerPro General questions | ||
|
M
mfred author
Security restrictions prevent use of the SMTP email method for emailing the add page and edit page information. I have created other applications using CDOSYS but the cosing conflicts with ASPRunner code. So I ran a search, found the code that others used and setup the code in the events. But I get an error at "objCDOSYSMail.HTMLBody =" in the following code. Can anyone indicate where I errored? |
||
|
|
Sergey Kornilov admin 4/10/2007 |
|
Mfred, objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "SMTP server"
objCDOSYSMail.HTMLBody = |
|
|
M
|
mfred author 4/11/2007 |
|
I am not getting it to work. I am back with the default SMTP method, which only works when the receiving email is from the same domain as the designated for "from". I tried 2 different SMPT servers. one gives: ""The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for xxxx@xxxxxx.com" or "The server rejected one or more recipient addresses. The server response was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" |
|
|
|
Sergey Kornilov admin 4/11/2007 |
|
Nothing is wrong with this code. The problem is that SMTP do not accept some or all recipient addresses. |
|
|
C
|
clig 4/13/2007 |
I am not getting it to work. I am back with the default SMTP method, which only works when the receiving email is from the same domain as the designated for "from". I tried 2 different SMPT servers. one gives: ""The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for xxxx@xxxxxx.com" or "The server rejected one or more recipient addresses. The server response was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)" The code which seems relevant is in commonfunctions.asp: cFrom = "xxxx@xxxxxxxx.com" cSmtpServer = "mailhost.xxxxxxxx.com" cSmtpPort = "25" cSMTPUser = "xxxxxxxxxx" cSMTPPassword = "xxxxxxxxx"
|
|