Email to list of addresses from a file
Does anyone know if it is possible to create an Automation that will send the same email to every email address listed in a text file?
I am working on a local community event and have several people registered. Periodically I need to email out a short sentence or two to each person on this list. In the past, I have simply copied the addresses in my file and pasted them into the Bcc line with my own address in the To line. As Spam filters get better, this type of address scheme is often rejected.
It would be better to send a separate email to each person by picking the email address from a file, line at a time, and sending the canned message.
It was not obvious to me how to approach this with Automator.
Perhaps Automater is not the correct choice - maybe I need to use a shell script or Perl and interact directly with sendmail?
Thanks
If you're using Mail, you can just send everyone the email by putting their address in the BCC header; you should be able to leave the To header blank. Spam filters are almost alway examing the origin and the subject of the email, and some even examine the body.
So, unless one of those fields is questionable according to the spam filters, your mail should pass through uninterrupted, since filters have no way of knowing whether you sent an email via BCC; they see only the address to where a single email is being delivered.
More likely is that one or more of your recipients hasn't marked your email address as "okay" or put it on a whitelist, so it may get put into a junk or spam folder on their system.
Hope this helps,
Mulder
If this answered you question, please consider awarding some points. Why Reward Points?
iMac G4 700Mhz Mac OS X (10.3.9)
Similar Messages
-
Extract email addresses from PDF file?
Hi,
Does somebody know if there is any -builtin- way to extract email addressed from PDF file in acrobat?
I tried 'save as' text/excel but this is a laborious task, especially when the pdf is large!
ThanksI've developed a script that does just that. Have a look here:
http://try67.blogspot.com/2012/02/acrobat-list-all-email-addresses.html -
How to extract register names & their addresses from .inc file of a microcontroller
Hi,
I want to extract register names to a dropdown and their corresponding addresses from .inc file in such a way that when I select a register from dropdown, it has to also show its address in a string indicator.
However, only a part of .inc file consists of register definitions and the rest has bit definition of registers (unwanted). How can I extract this using labview?
Attached is a sample .inc file for PIC18F4620 device.
Attachments:
p18f4620.inc 48 KBRead the file line by line until you find "Register Files" (use for example Search/Split String).
Then, read again splitting each line in its tokens (use Scan String for Tokens).
Keep the first token as name and convert the proper substring of the third token to the address value.
Terminate when line is empty.
Paolo
LV 7.0, 7.1, 8.0.1, 2011 -
How do you import a list of users from a file? (BPC 7.5NW)
In adding users from a network domain, the related personnel filter provides three choices. One of the choices allows a BPC administrator to import a list of users from file. For some reason, the radio button alongside that option is grey and the choice is inoperable. Does anyone know what steps-configuration or later-must be taken to make this choice operable and to be able to import the list of users from a file?
Edited by: Greg Tyrl on Jul 11, 2011 8:17 PMmake a new addressbook and in that import Outlook's
-
Collect email addresses from html file or URL
Hi guys, it sounds never been disccussed here,
I have a HTML file which is huge , contains text graphics and email addresses, if I want to copy the email address manually, it will take long time,
so have anybody thought of a JSP script to do this task ? , just to read the html or the URL and to collect all the email addresses there !Hi guys, it sounds never been disccussed here, Probably because most developers dont like to be
spammed and dont like to make programs that can
collect email addresses from a website or url?OWNED
definitely owned. -
How do I restore addresses from archive file or time machine without iCloud overriding?
I recently had an issue with my address book contacts. About 90% of the contacts disappeared, then synched through iCloud to my iphone and ipad.....so nearly all my contacts were lost on all devices. I have both time machine and an address book archive file.
When I tried restoring from time machine, the iCloud synching saw it as an older version of the file and went to the deleted contacts version....i.e. I was right back where I started.
When I tried importing from the address book archive, the same thing happened.....iCloud saw the imported version as an older copy of the contacts file and deleted out everything I had just imported.
The only way I was able to get the contacts back was to go to time machine (with address book application open), select all the contacts, copy them, cancel out of time machine, and then paste the contacts into the current version of address book.....I guess the system sees that as a "new" version of the contact and doesn't overrite it. Problem is that it doesn't carry over all the different groups that way, and I have to move addresses into the groups all over again....kinda time consuming.
Any ideas on how to import from archive or restore from time machine (the normal way) without iCloud synching overriding the "older" and desired version of the file? Address book doesn't have any option to "override current contacts with imported ones".....
Thanks.Try this:
Turn off your internet connection completely: check it's really off.
Import your backup into Address Book.
Select all your contacts.
From the File menu choose Export>vCard and save the file somewhere convenient.
Now turn the internet connection back on. Your contacts will disappear from Address Book again.
From the File menu choose 'Import' and select the file you exported to.
Hopefully this contacts list will stay in place: wait until it's synced to iCloud and check that it's on the website and syncs to your Phone. -
Emailing to a gmail address from iPad2 with iOS 7
I cannot mail a link to a gmail address from the mail app or safari on my ipad2 with ios 7. It will send to yahoo and other addresses, but not gmail. I have tried deleting my mail accounts and adding them again, resetting and turning off 2-step verification. It works fine from my itouch. I compared all the settings on the two devices and they are the same. Please help! This is a real problem. I sent an important email to someone and realized a week later it was in my outbox. =/ I've been working on this problem for over a week and can't seem to solve it.
Have you tried restarting or resetting your iPad?
Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
No data will be lost. -
Send list of addresses from received email into new group?
I got an email addressed to me and about 30 other people (all in the To: line). None of these people is in my address book. Is there some way to create a new group with all their addresses without first adding each one of them one-by-one into my address book? I know I can click on each name and add them with a couple of clicks, but I'd like to know if there is a faster way.
Thanks for the suggestion; I'll give the scripts a try. Normally I'm wary of scripts for core OSX apps (Safari, Mail, iTunes, etc.) because they can be a source of problems when a point update from Apple comes along. These seem fairly benign, though.
-
How do I add multiple emails to a Contacts group from a file?
I have a weekly newsletter I send out to a few hundred people. Their email addresses are all stored in a text file. I want to create a Group to use with Mac Mail, but I don't know how to import the list into an existing Group. I tried creating a CSV file with only the email addresses (that's all I have), but Contacts wouldn't import it, didn't recongize the file as CSV. (I did add a comma to the end of each email.)
How do I create a Group in Contacts? And can I then use that group in Mac Mail?
thanks
ScottI did figure this out, sort of, by adding a tab character to the beginning of each email address in my text file. Contact then let me import it, and I could select the field for the email address. So I've imported my list as a group of 700+ emails.
BUT now when I try and add that Group in the To: or Cc: or Bcc: fields in mail, it just disappears when I type it.
Any idea what's up with that?
thanks
Scott -
How to list IP address from client on the Server (TCP/IP CLIENT SERVER COMMUNICATION)
Excuse me,
In this project I want to ask how to add list IP from client that connect to server.
I have edited slightly the project.
'SERVER
Imports System.Net
Imports System.Net.Sockets
Imports System.Threading
Imports System.Threading.Tasks
Imports System.Reflection
Public Class ServerForm
Private _Listener As TcpListener
Private _Connections As New List(Of ConnectionInfo)
Private _ConnectionMonitor As Task
Private Sub Button_Checked(sender As System.Object, e As System.EventArgs) Handles StartStopButton.CheckedChanged
If StartStopButton.Checked Then
StartStopButton.Text = "Stop"
StartStopButton.Image = My.Resources.StopServer
_Listener = New TcpListener(IPAddress.Any, CInt(PortTextBox.Text))
_Listener.Start()
Dim monitor As New MonitorInfo(_Listener, _Connections)
ListenForClient(monitor)
_ConnectionMonitor = Task.Factory.StartNew(AddressOf DoMonitorConnections, monitor, TaskContinuationOptions.LongRunning)
Else
StartStopButton.Text = "Start:"
StartStopButton.Image = My.Resources.StartServer
CType(_ConnectionMonitor.AsyncState, MonitorInfo).Cancel = True
_Listener.Stop()
_Listener = Nothing
End If
End Sub
Private Sub PortTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles PortTextBox.Validating
Dim deltaPort As Integer
If Not Integer.TryParse(PortTextBox.Text, deltaPort) OrElse deltaPort < 1 OrElse deltaPort > 65535 Then
MessageBox.Show("Port number between 1 and 65535", "Invalid Port Number", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
PortTextBox.SelectAll()
e.Cancel = True
End If
End Sub
Private Sub ListenForClient(monitor As MonitorInfo)
Dim info As New ConnectionInfo(monitor)
_Listener.BeginAcceptTcpClient(AddressOf DoAcceptClient, info)
End Sub
Private Sub DoAcceptClient(result As IAsyncResult)
Dim monitorinfo As MonitorInfo = CType(_ConnectionMonitor.AsyncState, MonitorInfo)
If monitorinfo.Listener IsNot Nothing AndAlso Not monitorinfo.Cancel Then
Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
monitorinfo.Connections.Add(info)
info.AcceptClient(result)
ListenForClient(monitorinfo)
info.AwaitData()
Dim doUpdateConnectionCountLabel As New Action(AddressOf UpdateConnectionCountLabel)
Invoke(doUpdateConnectionCountLabel)
End If
End Sub
Private Sub DoMonitorConnections()
Dim doAppendOutput As New Action(Of String)(AddressOf AppendOutput)
Dim doUpdateConnectionCountLabel As New Action(AddressOf UpdateConnectionCountLabel)
Dim monitorInfo As MonitorInfo = CType(_ConnectionMonitor.AsyncState, MonitorInfo)
Me.Invoke(doAppendOutput, "Server Started")
Do
Dim lostCount As Integer = 0
For index As Integer = monitorInfo.Connections.Count - 1 To 0 Step -1
Dim info As ConnectionInfo = monitorInfo.Connections(index)
If info.Client.Connected Then
If info.DataQueue.Count > 0 Then
Dim messageBytes As New List(Of Byte)
While info.DataQueue.Count > 0
Dim value As Byte
If info.DataQueue.TryDequeue(value) Then
messageBytes.Add(value)
End If
End While
Me.Invoke(doAppendOutput, "Message from IP: " + System.Text.Encoding.ASCII.GetString(messageBytes.ToArray))
End If
Else
monitorInfo.Connections.Remove(info)
lostCount += 1
End If
Next
If lostCount > 0 Then
Invoke(doUpdateConnectionCountLabel)
End If
_ConnectionMonitor.Wait(1)
Loop While Not monitorInfo.Cancel
For Each info As ConnectionInfo In monitorInfo.Connections
info.Client.Close()
Next
monitorInfo.Connections.Clear()
Invoke(doUpdateConnectionCountLabel)
Me.Invoke(doAppendOutput, "Server Stoped")
End Sub
Private Sub UpdateConnectionCountLabel()
ConnectionCountLabel.Text = String.Format("{0} Connections", _Connections.Count)
End Sub
Private Sub AppendOutput(message As String)
If RichTextBox1.TextLength > 0 Then
RichTextBox1.AppendText(ControlChars.NewLine)
End If
RichTextBox1.AppendText(message)
RichTextBox1.ScrollToCaret()
End Sub
Private Sub ClearButton_Checked(sender As Object, e As EventArgs) Handles ClearButton.CheckedChanged
If ClearButton.Checked Then
RichTextBox1.Clear()
End If
End Sub
End Class
Public Class MonitorInfo
Private _listener As TcpListener
Public ReadOnly Property Listener As TcpListener
Get
Return _listener
End Get
End Property
Private _connections As List(Of ConnectionInfo)
Public ReadOnly Property Connections As List(Of ConnectionInfo)
Get
Return _connections
End Get
End Property
Public Property Cancel As Boolean
Public Sub New(tcpListener As TcpListener, connectionInfoList As List(Of ConnectionInfo))
_listener = tcpListener
_connections = connectionInfoList
End Sub
End Class
Public Class ConnectionInfo
Private _monitor As MonitorInfo
Public ReadOnly Property Monitor As MonitorInfo
Get
Return _monitor
End Get
End Property
Private _Client As TcpClient
Public ReadOnly Property Client As TcpClient
Get
Return _Client
End Get
End Property
Private _DataQueue As System.Collections.Concurrent.ConcurrentQueue(Of Byte)
Public ReadOnly Property DataQueue As System.Collections.Concurrent.ConcurrentQueue(Of Byte)
Get
Return _DataQueue
End Get
End Property
Private _Stream As NetworkStream
Public ReadOnly Property Stream As NetworkStream
Get
Return _Stream
End Get
End Property
Public Sub New(monitor As MonitorInfo)
_monitor = monitor
_DataQueue = New System.Collections.Concurrent.ConcurrentQueue(Of Byte)
End Sub
Private _LastReadLength As Integer
Public ReadOnly Property LastReadLength As Integer
Get
Return _LastReadLength
End Get
End Property
Private _Buffer(63) As Byte
Public Sub AcceptClient(result As IAsyncResult)
_Client = _monitor.Listener.EndAcceptTcpClient(result)
If _Client IsNot Nothing AndAlso _Client.Connected Then
_Stream = _Client.GetStream
End If
End Sub
Public Sub AwaitData()
_Stream.BeginRead(_Buffer, 0, _Buffer.Length, AddressOf DoReadData, Me)
End Sub
Private Sub DoReadData(result As IAsyncResult)
Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
Try
If info.Stream IsNot Nothing AndAlso info.Stream.CanRead Then
info._LastReadLength = info.Stream.EndRead(result)
For Index As Integer = 0 To _LastReadLength - 1
info._DataQueue.Enqueue(info._Buffer(Index))
Next
'info.SendMessage("Data Diterima " & info._LastReadLength & " Bytes")
info.SendMessage("reply form server: " & info._LastReadLength & " Bytes")
For Each otherInfo As ConnectionInfo In info.Monitor.Connections
If Not otherInfo Is info Then
otherInfo.SendMessage(System.Text.Encoding.ASCII.GetString(info._Buffer))
End If
Next
info.AwaitData()
Else
info.Client.Close()
End If
Catch ex As Exception
info._LastReadLength = -1
End Try
End Sub
Private Sub SendMessage(message As String)
If _Stream IsNot Nothing Then
Dim messageData() As Byte = System.Text.Encoding.ASCII.GetBytes(message)
Stream.Write(messageData, 0, messageData.Length)
End If
End Sub
End Class
'CLIENT
Imports System.Net
Imports System.Net.Sockets
Public Class ClientForm
Private _Connection As ConnectionInfo
Private _ServerAddress As IPAddress
Private Sub ClientForm_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
ValidateChildren()
End Sub
Private Sub ConnectButton_Checked(sender As Object, e As System.EventArgs) Handles ConnectButton.CheckedChanged
If ConnectButton.Checked Then
If _ServerAddress IsNot Nothing Then
ConnectButton.Text = "Disconnect"
ConnectButton.Image = My.Resources.StopServer
Try
_Connection = New ConnectionInfo(_ServerAddress, CInt(PortTextBox.Text), AddressOf InvokeAppendOutput)
_Connection.AwaitData()
Catch ex As Exception
MessageBox.Show(ex.Message, "Error Connecting to Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
ConnectButton.Checked = False
End Try
Else
MessageBox.Show("Invlid IP Server", "Cannt Connect to Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
ConnectButton.Checked = False
End If
Else
ConnectButton.Text = "Connect"
ConnectButton.Image = My.Resources.StartServer
If _Connection IsNot Nothing Then _Connection.Close()
_Connection = Nothing
End If
End Sub
Private Sub SendButton_Click(sender As System.Object, e As System.EventArgs) Handles SendButton.Click
If _Connection IsNot Nothing AndAlso _Connection.Client.Connected AndAlso _Connection.Stream IsNot Nothing Then
Dim buffer() As Byte = System.Text.Encoding.ASCII.GetBytes(InputTextBox.Text)
_Connection.Stream.Write(buffer, 0, buffer.Length)
End If
End Sub
Private Sub ServerTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles IPTextBox.Validating
_ServerAddress = Nothing
Dim remoteHost As IPHostEntry = Dns.GetHostEntry(IPTextBox.Text)
If remoteHost IsNot Nothing AndAlso remoteHost.AddressList.Length > 0 Then
For Each deltaAddress As IPAddress In remoteHost.AddressList
If deltaAddress.AddressFamily = AddressFamily.InterNetwork Then
_ServerAddress = deltaAddress
Exit For
End If
Next
End If
If _ServerAddress Is Nothing Then
MessageBox.Show("Cannot resolve Server Address", "invalid Server", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
IPTextBox.SelectAll()
e.Cancel = True
End If
End Sub
Private Sub PortTextBox_Validating(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles PortTextBox.Validating
Dim deltaPort As Integer
If Not Integer.TryParse(PortTextBox.Text, deltaPort) OrElse deltaPort < 1 OrElse deltaPort > 65535 Then
MessageBox.Show("Port number between 1 and 65535", "invalid Port number", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
PortTextBox.SelectAll()
e.Cancel = True
End If
End Sub
Private Sub InvokeAppendOutput(message As String)
Dim doAppendOutput As New Action(Of String)(AddressOf AppendOutput)
Me.Invoke(doAppendOutput, message)
End Sub
Private Sub AppendOutput(message As String)
If RichTextBox1.TextLength > 0 Then
RichTextBox1.AppendText(ControlChars.NewLine)
End If
RichTextBox1.AppendText(message)
RichTextBox1.ScrollToCaret()
End Sub
Private Sub ButtonClear_Click(sender As Object, e As EventArgs) Handles ButtonClear.Click
RichTextBox1.Clear()
InputTextBox.Clear()
End Sub
End Class
Public Class ConnectionInfo
Private _AppendMethod As Action(Of String)
Public ReadOnly Property AppendMethod As Action(Of String)
Get
Return _AppendMethod
End Get
End Property
Private _Client As TcpClient
Public ReadOnly Property Client As TcpClient
Get
Return _Client
End Get
End Property
Private _Stream As NetworkStream
Public ReadOnly Property Stream As NetworkStream
Get
Return _Stream
End Get
End Property
Private _LastReadLength As Integer
Public ReadOnly Property LastReadLength As Integer
Get
Return _LastReadLength
End Get
End Property
Private _Buffer(63) As Byte
Public Sub New(address As IPAddress, port As Integer, append As Action(Of String))
_AppendMethod = append
_Client = New TcpClient
_Client.Connect(address, port)
_Stream = _Client.GetStream
End Sub
Public Sub AwaitData()
_Stream.BeginRead(_Buffer, 0, _Buffer.Length, AddressOf DoreadData, Me)
End Sub
Public Sub Close()
If _Client IsNot Nothing Then _Client.Close()
_Client = Nothing
_Stream = Nothing
End Sub
Private Sub DoreadData(result As IAsyncResult)
Dim info As ConnectionInfo = CType(result.AsyncState, ConnectionInfo)
Try
If info._Stream IsNot Nothing AndAlso info._Stream.CanRead Then
info._LastReadLength = info._Stream.EndRead(result)
If info._LastReadLength > 0 Then
Dim message As String = System.Text.Encoding.ASCII.GetString(info._Buffer)
info._AppendMethod(message)
End If
info.AwaitData()
End If
Catch ex As Exception
info._LastReadLength = -1
info._AppendMethod(ex.Message)
End Try
End Sub
End Class
//ScreenShot server
http://prntscr[dot]com/5t1ol3
//Screenshot client
http://prntscr[dot]com/5t1odj
source: code[dot]msdn[dot]microsoft[dot]com/windowsdesktop/Simple-Multi-User-TCPIP-43cc3b44I have a similar chat application. When the user attempts to connect, instead of sending a simple string, the client sends a serialized object(xml string) with all relevant login and session information, this includes the user's IP address. Once the server
receives said information, depending on the type of TCP broadcast (a custom enumerated type) information from one user may be passed to a single user, or distributed to many users.
If it helps, here is the TCPBroadcast object I use. But in order for your server to understand it, you kind of have to build your server and client somewhat around it.
Option Strict On
Option Explicit On
Option Infer Off
Namespace TCPChat
Public Class TCPBroadcast
Public Property Message As String
Public Property BroadCastTime As DateTime
Public Property DestUser As String
Public Property OriginUser As String
Public Property PasswordHash As String
Public Property BroadcastSourceIP As String
Public Property BroadCastType As TCPBroadcastType
Public Property LoginUserName As String
Public Property FailureReason As String
Public Function XmlEncoding() As String
Dim serializer As New Xml.Serialization.XmlSerializer(GetType(TCPBroadcast))
Dim XML As String = String.Empty
Using memStream As New IO.MemoryStream
Using xmlWriter As New Xml.XmlTextWriter(memStream, System.Text.Encoding.UTF8) With _
{.Indentation = 4, .Formatting = System.Xml.Formatting.Indented}
serializer.Serialize(xmlWriter, Me)
End Using
XML = System.Text.Encoding.UTF8.GetString(memStream.ToArray)
End Using
Return XML
End Function
Public Function ToBinary() As Byte()
Return System.Text.Encoding.UTF8.GetBytes(Me.XmlEncoding)
End Function
Public Shared Function FromBinary(binary As Byte()) As DeserializationResult
Dim xml As String = System.Text.Encoding.UTF8.GetString(binary)
Return FromXML(xml)
End Function
Public Shared Function FromXML(xml As String) As DeserializationResult
Dim DeserializationResult As New DeserializationResult
DeserializationResult.Error = False
Try
Dim deserializer As New Xml.Serialization.XmlSerializer(GetType(TCPBroadcast))
Dim buffer As Byte() = System.Text.Encoding.UTF8.GetBytes(xml)
Using memStream As New IO.MemoryStream(buffer)
DeserializationResult.tcpBroadCast = CType(deserializer.Deserialize(memStream), TCPBroadcast)
End Using
Catch ex As Exception
DeserializationResult.Error = True
DeserializationResult.ErrorMessage = ex.ToString
DeserializationResult.AttemptedXML = xml
End Try
Return DeserializationResult
End Function
Public Class DeserializationResult
Public [Error] As Boolean
Public ErrorMessage As String
Public tcpBroadCast As TCPBroadcast
Public AttemptedXML As String
Sub New()
End Sub
End Class
Public Enum TCPBroadcastType
AdministrativeMessage
AuthenticationFailure
AuthenticationSuccess
ChatBroadcast
CredentialsRequest
Credentials
DisconnectedByServer
KeepAlive
PrivateMessage
ServerMessage
SystemMessage
UnableToProcessRequest
End Enum
End Class
End Namespace
“If you want something you've never had, you need to do something you've never done.”
Don't forget to mark
helpful posts and answers
! Answer an interesting question? Write a
new article
about it! My Articles
*This post does not reflect the opinion of Microsoft, or its employees. -
How can I create a list of addresses from the Junk folder?
I am using TB 24.7 and I have a long list of e-mail addresses in my junk folder. I need to harvest those to add them to my server's black list.
How can that be done?
Thanks.Trying to filter junk messages based on sender email is hopeless. The sender email changes all the time.
-
Easiest way to import a bunch of addresses from text file to address book?
What is the easiest way to import text files to address book?
I have a Microsoft Word file with all of my addresses set-up like this:
Johnny Appleseed
Apple Computer
1234 main St.
Anytown, CT 06905
203-321-4709
[email protected]
Is there some easy way to get them in there without having to copy & paste into each individual field.
Thanks!See this thread.
AK -
Reference list of Identifiers from external file (ie .txt file)
Hello All,
I was hoping someone may be able to help me with a conceptual (and then technical...) line of thought?
I have a list of roughly 7000 loans to interrogate in an excel spreadheet or text file, is there a way I can get my query to reference this list, regard it as a temporary table and join it to an SQL query?
The list of loans are unique 8 digit identifiers. I have a very simple SQL query over two core tables that brings back the balance and currency for all loans on our system but I want to get these fields for the 7000 loans in question only.
I would normally just query all the loans and use a vlookup in Excel but the numbers are too big to make this viable.
The only method I currently have in place is to loop through the identifers one by one, querying each separately. Running the same query 7000 times seems rather inefficient!!
Is this a reasonable concept? If so I shall need some help with how to reference the external file, which will be gratefully received!!
Thank you :)
JonHi Peter,
You're right this is ad-hoc, but this sort of situation arises all the time where I am given a list of identifiers to furnish with data, if I can figure out how to use external files it will be very useful. At least having some knid of work around would help.
Running
select *
from dba_sys_privs
where grantee = 'REPORTER'
order by privilegeGives me:
GRANTEE PRIVILEGE ADMIN_OPTION
REPORTER ALTER SESSION NO
REPORTER CREATE CLUSTER NO
REPORTER CREATE DATABASE LINK NO
REPORTER CREATE SEQUENCE NO
REPORTER CREATE SESSION NO
REPORTER CREATE SYNONYM NO
REPORTER CREATE TABLE NO
REPORTER CREATE VIEW NO
REPORTER SELECT ANY DICTIONARY NO
REPORTER SELECT ANY TABLE NO
REPORTER UNLIMITED TABLESPACE NOSo I don't have the rights for the external tables if I understand correctly? Directory creation for example. I do appear to be able to create tables though so perhaps I can greate a TEMP table under my REPORTER login and populate it on an ad-hoc basis as you suggest.
I'm stil wading through that document! I'm going to try to talk to someone in our IT department as well about the server side.
Thanks for the advice, will update asap.
Jon -
Hello,
I have several cfp-1804 modules connected and functioning properly. I would like to programatically read the IP address for each module from the *.iak file or maybe from MAX. I want to be able to determine the IP address within my LabVIEW program even if the modules are disconnected or powered off.
Thanks. CoreyI am using the LabVIEW project and after looking at the .aliases file I see the IP address. I think that will work for me. Thanks.
The modules frequently get disconnected from the network or power is removed. I want the IP address so I can Ping the modules to determine if they are connected. I didn't want to hard code in the IP address, so that is why I wanted to pragmatically read it. Currently, I try to read a value from the cfp-1804 to determine connection status. This works, but it takes a long time (up to 30 seconds) if the unit is disconnected. I also have experienced an issue where I can disconnect the network cable, but am still able to get a reading from the cfp module. I've read that this is possible because the data is cached locally. -
Remove Email Addresses From a Formatted Excel File
I have an excel file that has some formatting in it that I
would like to preserve (some cells have background color, etc). I'd
like to remove a list of email addresses from this file. My first
thought is to use cffile with action read, use the following in a
cfloop: replace(emailAddressToDelete,
excelFileVarCreatedFromCffileRead) and then save it back to excel
format with cffile using action write. I tried this and the Excel
file would not open. The error was:
test.xls cannot be accessed. The file may be read-only, or
you may be trying to access a read-only location. Or, the server
the document is stored on may not be responding.
I'm guessing something went wrong in the process of reading
and writing the files contents and it's not as simple as I want to
make it. Anyone have something to tell me that might help me remove
email addresses from a formatted Excel spreadsheet?jqcf wrote:
>
> I'm guessing something went wrong in the process of
reading and writing the
> files contents and it's not as simple as I want to make
it. Anyone have
> something to tell me that might help me remove email
addresses from a formatted
> Excel spreadsheet?
>
Yup, .xls is a proprietary encrypted file format and
<cffile.... is not
going to be able to successfully read and modify it's
content. You can
copy it or move it, but not modify it with <cffile...>
If the file format was a plain text such as .txt or .csv you
could do
what you are thinking about, but then you would probably not
have the
proprietary excel formating in the file.
I've heard about the POI library that allows some native
Excel access
and such, but I am not knowledgeable in its ins and outs.
Maybe you are looking for
-
Skype 4.3.0.37 can't log in with Microsoft account
I'm using Skype Skype 4.3.0.37 on Archlinux.Today I can't login with my Microsoft account (skype account works as usual). I get this message (translated from italian): We're sorry, your access data were not recognized. Check your skype name and passw
-
How to remove a credit card from my account
I added a gift credit card to my Apple account and now that it is used up i can't seem to be able to remove it ??
-
There should be a smoother way to transfer a folder of mus
I've been using the ZEN V Series Media Explorer to copy music to my Zen V Plus. It ought to be possible to copy a folder of music from my hard dri've to my Creative Zen V Plus player, automatically creating a playlist having the same name as the fold
-
Change partitions on disk with NTFS and Mac OS Extended
I have a 1.5TB external drive formatted with 3 equal size partitions: 1 NTFS and 2 Mac OS Extended formats, each one ~500GB. I'd like to remove the NTFS partition and use the whole drive for the 2 Mac partitions. Could I copy the NTFS data to one o
-
The SMTP server requires a secure connection or the client was not authenticated. -.
Hello I wrote this code. I searched but could not find a solution for my problem. private void button_sendemail_Click(object sender, EventArgs e) string temp = "mygmailpassword"; System.Security.SecureString password = new System.Security.SecureStrin