Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


unable to send email

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,59589
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> unable to send email
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 unable to send email - 4/28/2008 3:56:46 AM   
  shahid09

 

Posts: 43
Score: 0
Joined: 1/22/2007
Status: offline
Hi All ,

I am trying to send email using vbscript but I am getting  "ActiveX component can't create object: 'Outlook.Application' " Error. Here is my code


      

Thanks
Shahid
 
 
Post #: 1
 
 RE: unable to send email - 4/28/2008 4:03:32 AM   
  shahid09

 

Posts: 43
Score: 0
Joined: 1/22/2007
Status: offline
One more thing i want to inform you is that our outlook open through citrix server.
Thanks

(in reply to shahid09)
 
 
Post #: 2
 
 RE: unable to send email - 4/28/2008 4:05:40 AM   
  ebgreen


Posts: 4613
Score: 31
Joined: 7/12/2005
Status: offline
So if you run that code on a machine with Outlook installed rather than through a Citrix session does it work?

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to shahid09)
 
 
Post #: 3
 
 RE: unable to send email - 4/28/2008 4:09:43 AM   
  shahid09

 

Posts: 43
Score: 0
Joined: 1/22/2007
Status: offline
I am not sure but i think it was working when i checked this code last year.

(in reply to ebgreen)
 
 
Post #: 4
 
 RE: unable to send email - 4/29/2008 5:48:38 AM   
  Rischip


Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
When was the last time Outlook allowed this without user intervention? I haven't been able to do anything like this in years due to security patches in Outlook.
Why not use CDO, or bmail?

_____________________________

Rischip
Author of - The Grim Linker

(in reply to shahid09)
 
 
Post #: 5
 
 RE: unable to send email - 4/29/2008 7:58:28 PM   
  DiGiTAL.SkReAM


Posts: 1157
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Ugh, bmail.
bmail is extremely buggy and unreliable.
If you only use it on one or two servers once or twice a day, no biggie, but when you try running it on about 600+ servers, 5 time s day, you find that it starts to accumulate errors like the first beta version of Windows ME.


If you are going to use something other than CDO, use a straight telnet connection to the mail server on port 25.
That's all smtp is anyways...



_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to Rischip)
 
 
Post #: 6
 
 RE: unable to send email - 4/29/2008 11:51:54 PM   
  Rischip


Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
I agree bmail is not the best, but based on the description of what the OP is trying to do it should be minimal usage and adequate.
The old days of only having 600 servers to worry about

_____________________________

Rischip
Author of - The Grim Linker

(in reply to DiGiTAL.SkReAM)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> unable to send email Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts