I have removed all references i can see from the code in relation to attachment formats, attachment names and mimeheader - all messages will be plain text. i have also removed all precedures including the one that was giving me the "invalid character in integer format c" error. i have recompiled both the .p and the .w that calls it. It is STILL giving me the error message above, even though there is no mention in the program of the variable "c".
the email log shows the following:
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:17:02 opening socket
01/18/02 16:17:02 Socket Connection Established.
01/18/02 16:17:02 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:18:57 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
01/18/02 16:18:02 End SMTP Session
01/18/02 16:26:13
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:26:13 opening socket
01/18/02 16:26:13 Socket Connection Established.
01/18/02 16:26:13 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:28:08 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
01/18/02 16:36:15
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:36:15 opening socket
01/18/02 16:36:15 Socket Connection Established.
01/18/02 16:36:15 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:38:10 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
Does anyone know why it cannot carry on, or what ESMPT spoken here means?
i have attached the full procedure without the attachment code.
Can anyone work out why the email is not being sent ?
TIA,
Emma. :dead:
the email log shows the following:
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:17:02 opening socket
01/18/02 16:17:02 Socket Connection Established.
01/18/02 16:17:02 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:18:57 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
01/18/02 16:18:02 End SMTP Session
01/18/02 16:26:13
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:26:13 opening socket
01/18/02 16:26:13 Socket Connection Established.
01/18/02 16:26:13 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:28:08 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
01/18/02 16:36:15
************** ****** New Group ******* ************
Socket email started
Input Parameters
EmailFrom = Emma.McDonald@capita.co.uk
EmailTo = Emma.McDonald@capita.co.uk,Laura.McDonald@capita.co.uk
EmailCC = Emma.McDonald@capita.co.uk
Subject = Testing from smtp
Body = Does this smtp stuff work? looks like it doesn't it! Hurray
01/18/02 16:36:15 opening socket
01/18/02 16:36:15 Socket Connection Established.
01/18/02 16:36:15 vstate 1
str 220-capitahrtnt01 Microsoft SMTP MAIL ready at Fri, 18 Jan 2002 16:38:10 +0000 Version: 5.5.1877.197.19
220 ESMTP spoken here
Does anyone know why it cannot carry on, or what ESMPT spoken here means?
i have attached the full procedure without the attachment code.
Can anyone work out why the email is not being sent ?
TIA,
Emma. :dead: