![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: Why is my machine blocking this email script tried using an ip for the mail server ? Greg wrote: Quote: > Set objEmail = CreateObject("CDO.Message") > msgtext = "Any text can go here" > > objEmail.From = "TestSender@xxxxxx" > objEmail.To = "TestReceipient@xxxxxx" > > > objEmail.Textbody =msgtext > objEmail.Configuration.Fields.Item _ > ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 > objEmail.Configuration.Fields.Item _ > ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _ > "mail.lifestar-response.net" > objEmail.Configuration.Fields.Item _ > ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 > objEmail.Configuration.Fields.Update > objEmail.Send > > > The above script will work on certain servers but not others. When > executed, I receive the following error: > > The transport failed to connect to the server > Code: 80040213 > CDO.Message.1 > > All the servers are all Windows 2003 Servers R2, are in the same subnet and > use the same Public IP address. > I believe this to be an issue with specific machines. Assuming I have > properley ruled out the email server and firewall, what would be blocking > this. TIA |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Why is my machine blocking this email script Yes. No luck. When I monitored with wireshark, there were no packets being sent to the email address. The script does not even make to the network card. -- Greg "David Bray" <"david - at - brayworth dot" wrote: Quote: > tried using an ip for the mail server ? > > Greg wrote: Quote: > > Set objEmail = CreateObject("CDO.Message") > > msgtext = "Any text can go here" > > > > objEmail.From = "TestSender@xxxxxx" > > objEmail.To = "TestReceipient@xxxxxx" > > > > > > objEmail.Textbody =msgtext > > objEmail.Configuration.Fields.Item _ > > ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 > > objEmail.Configuration.Fields.Item _ > > ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = _ > > "mail.lifestar-response.net" > > objEmail.Configuration.Fields.Item _ > > ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 > > objEmail.Configuration.Fields.Update > > objEmail.Send > > > > > > The above script will work on certain servers but not others. When > > executed, I receive the following error: > > > > The transport failed to connect to the server > > Code: 80040213 > > CDO.Message.1 > > > > All the servers are all Windows 2003 Servers R2, are in the same subnet and > > use the same Public IP address. > > I believe this to be an issue with specific machines. Assuming I have > > properley ruled out the email server and firewall, what would be blocking > > this. TIA |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Why is my machine blocking this email script Maybe this '--------------------------------- Const cdoBasic = 1 objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") _ = cdoBasic '--------------------------------- Greg wrote: Quote: > Yes. No luck. When I monitored with wireshark, there were no packets being > sent to the email address. The script does not even make to the network card. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How to login any Windows Machine remotely using script | VB Script | |||
| Pause script until process id on remote machine goes away? | PowerShell | |||
| vista is blocking my machine to launch mozilla, chrome or safari, can any body help | Vista security | |||
| vista is blocking my machine to launch mozilla, chrome or safari, can any body help | Vista security | |||
| WMDC - Outlook Script Blocking? | Vista hardware & devices | |||