J
Jeff Miller
Hello everybody,
I'm trying to use RExchange to add contacts to every mailbox on my
exchange server. I seem to have some problems getting it to work... All
I have thus far is:
RExchange:pen('https://ex.xdev.corp/exchange', 'admin', 'admin') do
|mailbox|
puts mailbox.contacts.each do |contact|
<<-CONTACT
Company: #{'company'}
Name: #{'name'}
Email: #{'email'}
Phone: #{'phone'}
CONTACT
This is just supposed to put company as company, name as name, email as
email, and phone as phone (just for testing purposes) into the contacts
folder. However, this script gives me this error:
`method_missing': contacts is not a subfolder of
(RExchange::FolderNotFoundError)
Has anybody used this before with successful results? I'm still pretty
new to Ruby, and VERY new to OOP... Can somebody point out my error?
Any help is appreciated!
Thank you,
- Jeff Miller
I'm trying to use RExchange to add contacts to every mailbox on my
exchange server. I seem to have some problems getting it to work... All
I have thus far is:
RExchange:pen('https://ex.xdev.corp/exchange', 'admin', 'admin') do
|mailbox|
puts mailbox.contacts.each do |contact|
<<-CONTACT
Company: #{'company'}
Name: #{'name'}
Email: #{'email'}
Phone: #{'phone'}
CONTACT
This is just supposed to put company as company, name as name, email as
email, and phone as phone (just for testing purposes) into the contacts
folder. However, this script gives me this error:
`method_missing': contacts is not a subfolder of
(RExchange::FolderNotFoundError)
Has anybody used this before with successful results? I'm still pretty
new to Ruby, and VERY new to OOP... Can somebody point out my error?
Any help is appreciated!
Thank you,
- Jeff Miller