Hi,
I am modifying my CDONTS code to use CDO.message. This works fine except
that it wont seem to let me send a copy of the e-mail to my-self. With
CDONTS i had no problems with this. Can anyone help with this? Thanks in
advance, Hugh
The code I am using is as follows:-
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
..Item(cdoSendUsingMethod) = cdoSendUsingPort
..Item(cdoSMTPServer) = "pegasus.intonet.co.uk"
..Update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set.Configuration = cdoConfig
..From = "we*******@andropause.org.uk"
..To = objrec("email")
..cc = "me*****@andropause.org.uk"
..Subject = "Welcome to The Andropause Society"
..HTMLBody = thetext
..Send
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing 4 8846
What happens?
- Do you get an error? What is it?
- Do you get nothing?
- Do you get something but not what you expect?
Cheers
Ken
"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:OL*************@TK2MSFTNGP11.phx.gbl...
: Hi,
:
: I am modifying my CDONTS code to use CDO.message. This works fine except
: that it wont seem to let me send a copy of the e-mail to my-self. With
: CDONTS i had no problems with this. Can anyone help with this? Thanks in
: advance, Hugh
: The code I am using is as follows:-
: Set cdoConfig = Server.CreateObject("CDO.Configuration")
:
: With cdoConfig.Fields
:
: .Item(cdoSendUsingMethod) = cdoSendUsingPort
:
: .Item(cdoSMTPServer) = "pegasus.intonet.co.uk"
:
: .Update
:
: End With
:
: Set cdoMessage = Server.CreateObject("CDO.Message")
:
: With cdoMessage
:
: Set.Configuration = cdoConfig
:
: .From = "we*******@andropause.org.uk"
:
: .To = objrec("email")
:
: .cc = "me*****@andropause.org.uk"
:
: .Subject = "Welcome to The Andropause Society"
:
: .HTMLBody = thetext
:
: .Send
:
: End With
:
: Set cdoMessage = Nothing
:
: Set cdoConfig = Nothing
:
:
Hi Ken,
Thanks for answering.
I get nothing. No error, no crash, no hang just nothing. The primary
addressee receives his message perfectly, while the copied addressee
receives nothing.
Repeating the test, but copying to an addressee in another domain works
fine.
Using CDONTS this problem didnt arise, and copies to the same domain arrived
perfectly.
Regards Hugh
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:OA**************@TK2MSFTNGP11.phx.gbl... What happens? - Do you get an error? What is it? - Do you get nothing? - Do you get something but not what you expect?
Cheers Ken
"Hugh Welford" <hu**********@btinternet.com> wrote in message news:OL*************@TK2MSFTNGP11.phx.gbl... : Hi, : : I am modifying my CDONTS code to use CDO.message. This works fine except : that it wont seem to let me send a copy of the e-mail to my-self. With : CDONTS i had no problems with this. Can anyone help with this? Thanks in : advance, Hugh : The code I am using is as follows:- : Set cdoConfig = Server.CreateObject("CDO.Configuration") : : With cdoConfig.Fields : : .Item(cdoSendUsingMethod) = cdoSendUsingPort : : .Item(cdoSMTPServer) = "pegasus.intonet.co.uk" : : .Update : : End With : : Set cdoMessage = Server.CreateObject("CDO.Message") : : With cdoMessage : : Set.Configuration = cdoConfig : : .From = "we*******@andropause.org.uk" : : .To = objrec("email") : : .cc = "me*****@andropause.org.uk" : : .Subject = "Welcome to The Andropause Society" : : .HTMLBody = thetext : : .Send : : End With : : Set cdoMessage = Nothing : : Set cdoConfig = Nothing : :
Is there anything in the mailroot folders on the server?
Cheers
Ken
"Hugh Welford" <hu**********@btinternet.com> wrote in message
news:eW**************@TK2MSFTNGP11.phx.gbl...
: Hi Ken,
: Thanks for answering.
: I get nothing. No error, no crash, no hang just nothing. The primary
: addressee receives his message perfectly, while the copied addressee
: receives nothing.
:
: Repeating the test, but copying to an addressee in another domain works
: fine.
:
: Using CDONTS this problem didnt arise, and copies to the same domain
arrived
: perfectly.
:
: Regards Hugh
:
:
: "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
: news:OA**************@TK2MSFTNGP11.phx.gbl...
: > What happens?
: > - Do you get an error? What is it?
: > - Do you get nothing?
: > - Do you get something but not what you expect?
: >
: > Cheers
: > Ken
: >
: >
: > "Hugh Welford" <hu**********@btinternet.com> wrote in message
: > news:OL*************@TK2MSFTNGP11.phx.gbl...
: > : Hi,
: > :
: > : I am modifying my CDONTS code to use CDO.message. This works fine
except
: > : that it wont seem to let me send a copy of the e-mail to my-self. With
: > : CDONTS i had no problems with this. Can anyone help with this? Thanks
in
: > : advance, Hugh
: > : The code I am using is as follows:-
: > : Set cdoConfig = Server.CreateObject("CDO.Configuration")
: > :
: > : With cdoConfig.Fields
: > :
: > : .Item(cdoSendUsingMethod) = cdoSendUsingPort
: > :
: > : .Item(cdoSMTPServer) = "pegasus.intonet.co.uk"
: > :
: > : .Update
: > :
: > : End With
: > :
: > : Set cdoMessage = Server.CreateObject("CDO.Message")
: > :
: > : With cdoMessage
: > :
: > : Set.Configuration = cdoConfig
: > :
: > : .From = "we*******@andropause.org.uk"
: > :
: > : .To = objrec("email")
: > :
: > : .cc = "me*****@andropause.org.uk"
: > :
: > : .Subject = "Welcome to The Andropause Society"
: > :
: > : .HTMLBody = thetext
: > :
: > : .Send
: > :
: > : End With
: > :
: > : Set cdoMessage = Nothing
: > :
: > : Set cdoConfig = Nothing
: > :
: > :
: >
: >
:
:
Hi Ken... I very shamefacedly have to admit that, following your line of
enquiry thro to the end, I found that the copies were arriving OK, but due
to a conflict in the M/S OUTLOOK rules, were being sent un-noticed to a
catch-all directory.
Thanks for your help all the same. Very grateful. Regards Hugh
"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl... Is there anything in the mailroot folders on the server?
Cheers Ken
"Hugh Welford" <hu**********@btinternet.com> wrote in message news:eW**************@TK2MSFTNGP11.phx.gbl... : Hi Ken, : Thanks for answering. : I get nothing. No error, no crash, no hang just nothing. The primary : addressee receives his message perfectly, while the copied addressee : receives nothing. : : Repeating the test, but copying to an addressee in another domain works : fine. : : Using CDONTS this problem didnt arise, and copies to the same domain arrived : perfectly. : : Regards Hugh : : : "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message : news:OA**************@TK2MSFTNGP11.phx.gbl... : > What happens? : > - Do you get an error? What is it? : > - Do you get nothing? : > - Do you get something but not what you expect? : > : > Cheers : > Ken : > : > : > "Hugh Welford" <hu**********@btinternet.com> wrote in message : > news:OL*************@TK2MSFTNGP11.phx.gbl... : > : Hi, : > : : > : I am modifying my CDONTS code to use CDO.message. This works fine except : > : that it wont seem to let me send a copy of the e-mail to my-self.
With : > : CDONTS i had no problems with this. Can anyone help with this?
Thanks in : > : advance, Hugh : > : The code I am using is as follows:- : > : Set cdoConfig = Server.CreateObject("CDO.Configuration") : > : : > : With cdoConfig.Fields : > : : > : .Item(cdoSendUsingMethod) = cdoSendUsingPort : > : : > : .Item(cdoSMTPServer) = "pegasus.intonet.co.uk" : > : : > : .Update : > : : > : End With : > : : > : Set cdoMessage = Server.CreateObject("CDO.Message") : > : : > : With cdoMessage : > : : > : Set.Configuration = cdoConfig : > : : > : .From = "we*******@andropause.org.uk" : > : : > : .To = objrec("email") : > : : > : .cc = "me*****@andropause.org.uk" : > : : > : .Subject = "Welcome to The Andropause Society" : > : : > : .HTMLBody = thetext : > : : > : .Send : > : : > : End With : > : : > : Set cdoMessage = Nothing : > : : > : Set cdoConfig = Nothing : > : : > : : > : > : :
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Hugh Welford |
last post by:
Hi Using WIN XP and FP2000
Using CDO.message to out put a message from my site, I get the following
error message 8004020f from using the code:-
strsql = "SELECT * FROM details WHERE patid...
|
by: Brian Keating EI9FXB |
last post by:
Would I be correct in saying that the only way to get a user message into a
Windows form would be to use P/Invoke with Message?
Of is there some part of the .NET API that I am totally un aware...
|
by: Rod |
last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some
reason, opening some ASP.NET applications we wrote is producing the
following error message:
"The Web server reported...
|
by: Microsoft News |
last post by:
What I have is a message box that pops up. It is another browser window.
The code is a general function that you pass message, title and a key to.
The box works great except, that if you are on a...
|
by: ronscottlangham |
last post by:
I am working on a custom WCF EndpoingBehavior that will modify the
messages coming in and out of my Service. I am having an error
related to the modification of the message in the...
|
by: =?Utf-8?B?QWRl?= |
last post by:
HI All,
I am encountering the following error when I try to send an email through a
SMTP server. I believe the problem lies with the authentication part when the
network crednetials are used,...
|
by: Steven Allport |
last post by:
I am working on processing eml email message using the email module (python
2.5), on files exported from an Outlook PST file, to extract the composite
parts of the email. In most instances this...
|
by: Philluminati |
last post by:
I have a Perl SOAP Server which returns this SOAP Message when
invoked:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance"...
|
by: bernd |
last post by:
Hi netties,
posted this in a different group already, which seems to be
inappropriate.
I create a message queue with msgget(), sent a 5-byte message to it
with msgsnd() and try to receive the...
|
by: forums_mp |
last post by:
Facing a design problem here and I'm not sure how to solve this. The
system consists of bi-directional communication between a subject
communicating with two (at least for now ) listeners. ...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |