<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; VBScript Email</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/vbscript-email/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 01:12:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Networking A Unique ID with multiple email accounts/profile.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/networking-a-unique-id-with-multiple-email-accountsprofile/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/networking-a-unique-id-with-multiple-email-accountsprofile/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 22:10:57 +0000</pubDate>
		<dc:creator>Cgsit</dc:creator>
				<category><![CDATA[Exchange 2000]]></category>
		<category><![CDATA[Outlook 2003]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[VBScript Email]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hello, I have been in many forums trying to find an answer to my project questions and problems. Status Quo: I have 10 locations, hotels that we designed to have there own unique email address since they are users in active directory. so H1, H2, H3 is users with exchange features on active directory. HI@cgs.com, [...]]]></description>
				<content:encoded><![CDATA[<p>Hello,<br />
I have been in many forums trying to find an answer to my project questions and problems. </p>
<p>Status Quo: I have 10 locations, hotels that we designed to have there own unique email address since they are users in active directory. so H1, H2, H3 is users with exchange features on active directory. HI@cgs.com, H2@cgs.com, h3@cgs.com<br />
I have agents that goes to different hotels every day but when they send out an email they send out using the hotel they are in. so lets say rob is in h1 he will send emails out using h1@cgs.com. The next day he will go to h2 and send out emails with h2@cgs.com. etc.etc.</p>
<p>Goal: My agents don&#8217;t use unique Id and password, they use h1 as user name and password. My goal to be compliant is to have my agent use unique ids and passwords with there name being the user name. My goal is this and my problem is this, I create the user rob with exchange feature so now he has rob@cgs.com, he goes to h1 on monday and sign on the computer with rob. He opens outlook and comes out with rob@cgs.com. I don&#8217;t want that, I want him to open h1@cgs.com emails and send out as h1@cgs.com. Tuesday he will go to sign on h2 computer using rob and when he opens up h2 outlook I want it to come out with h2@cgs.com</p>
<p>It&#8217;s alot to take I&#8217;m sorry if I am confusing you. My goal is to have a unique id and password with a revolving .prf script or maybe  tool or maybe software so when they sign on to the computer they will see the name of the computer as the hotel and automatically use the hotel&#8217;s profile and not there own for email.</p>
<p>Thanks for listening at least. I do have a script in the works, a vbs script where i use a script to find the computer name and information and then use the outlook profile script to pull the hotel&#8217;s prf from the server so when he opens outlook it will open with that profile.</p>
<p>thanks again.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/networking-a-unique-id-with-multiple-email-accountsprofile/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>vbscript email message lenght limits?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/vbscript-email-message-lenght-limits/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/vbscript-email-message-lenght-limits/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 17:07:35 +0000</pubDate>
		<dc:creator>Crbsa</dc:creator>
				<category><![CDATA[VBScript]]></category>
		<category><![CDATA[VBScript Email]]></category>
		<category><![CDATA[VBScript Email Message Length]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Is there a &#8220;total message length&#8221; limitation for Excel Macro Emails? I&#8217;m new to vbscripting and thought I had successfully created code to email Excel data via a macro. I have written the macro to send up to 30 lines of information, but have discovered that the number of lines I can actually send depends [...]]]></description>
				<content:encoded><![CDATA[<p>Is there a &#8220;total message length&#8221; limitation for Excel Macro Emails?<br />
I&#8217;m new to vbscripting and thought I had successfully created code to email Excel data via a macro.  I have written the macro to send up to 30 lines of information, but have discovered that the number of lines I can actually send depends on the amount of data within the lines themselves.  I.E. I can send 30 lines with a small amounts of data per line or perhaps only 12 lines of data with larger amounts of data per line.  My code (below) works, provided the amount of data in any or all of the lines is is not &#8220;too large.&#8221;  If is is &#8220;too large,&#8221; it simply does not send the email.  Any sugestions?</p>
<p>Code:</p>
<p>&#8216; SendEmail Macro<br />
&#8216; Email Data<br />
&#8216;<br />
&#8216; Keyboard Shortcut: Ctrl+r<br />
&#8216;<br />
Private Declare Function ShellExecute Lib &#8220;shell32.dll&#8221; _<br />
Alias &#8220;ShellExecuteA&#8221; (ByVal hwnd As Long, ByVal lpOperation As String, _<br />
ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, _<br />
ByVal nShowCmd As Long) As Long<br />
Sub SendEmail()<br />
    Dim Email As String, Subj As String<br />
    Dim Msg As String, URL As String<br />
    Dim r As Integer, x As Double</p>
<p>    Sheets(&#8220;email&#8221;).Select</p>
<p>&#8216;       Get the email address<br />
        Email = &#8220;first.last@company.com&#8221;</p>
<p>&#8216;       Message subject<br />
        Subj = &#8220;Project Time Sheet: &#8221;<br />
        Subj = Subj &#038; Cells(2, 2)<br />
        Subj = Subj &#038; &#8221; for Period &#8221;<br />
        Subj = Subj &#038; Cells(2, 4)<br />
        Subj = Subj &#038; &#8221; &#8211; &#8221;<br />
        Subj = Subj &#038; Cells(2, 5)</p>
<p>&#8216;       Compose the message<br />
        Msg = &#8220;&#8221;<br />
        Msg = Msg &#038; Cells(33, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(34, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(35, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(36, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(37, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(38, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(39, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(40, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(41, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(42, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(43, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(44, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(45, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(46, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(47, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(48, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(49, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(50, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(51, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(52, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(53, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(54, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(55, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(56, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(57, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(58, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(59, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(60, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(61, 2) &#038; vbCrLf<br />
        Msg = Msg &#038; Cells(62, 2) &#038; vbCrLf</p>
<p>&#8216;       Replace spaces with %20 (hex)<br />
         &#8216;Subj = Application.WorksheetFunction.Substitute(Subj, &#8221; &#8220;, &#8220;%20&#8243;)<br />
         &#8216;Msg = Application.WorksheetFunction.Substitute(Msg, &#8221; &#8220;, &#8220;%20&#8243;)</p>
<p>&#8216;       Replace carriage returns with %0D%0A (hex)<br />
        Msg = Application.WorksheetFunction.Substitute(Msg, vbCrLf, &#8220;%0D%0A&#8221;)</p>
<p>&#8216;       Create the URL<br />
        URL = &#8220;mailto:&#8221; &#038; Email &#038; &#8220;?subject=&#8221; &#038; Subj &#038; &#8220;&#038;body=&#8221; &#038; Msg</p>
<p>&#8216;       Execute the URL (start the email client)<br />
        ShellExecute 0&#038;, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus</p>
<p>&#8216;       Wait two seconds before sending keystrokes<br />
        Application.Wait (Now + TimeValue(&#8220;0:00:02&#8243;))<br />
        Application.SendKeys &#8220;%s&#8221;</p>
<p>        Sheets(&#8220;Weekly Report&#8221;).Select</p>
<p>End Sub</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/vbscript-email-message-lenght-limits/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to send an email (status report) automatically from a client system to remote server</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-send-an-email-status-report-automatically-from-a-client-system-to-remote-server/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-send-an-email-status-report-automatically-from-a-client-system-to-remote-server/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 21:14:56 +0000</pubDate>
		<dc:creator>Infocion</dc:creator>
				<category><![CDATA[Automated Emails]]></category>
		<category><![CDATA[VBScript]]></category>
		<category><![CDATA[VBScript Email]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hii All, I have a task running on client machine.as soon as the task ends i need to send an email notification to the remote server the status report of task. Is there any VB script or the other way to do this.]]></description>
				<content:encoded><![CDATA[<p>Hii All,</p>
<p>I have a task running on client machine.as soon as the task ends i need to send an email notification to the remote server the status report of task.</p>
<p>Is there any VB script or the other way to do this.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-send-an-email-status-report-automatically-from-a-client-system-to-remote-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/18 queries in 0.019 seconds using memcached
Object Caching 448/497 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 04:22:27 -->