VoiceGuide: Emailing From Data Used In Voiceguide.commandlink - VoiceGuide

Jump to content

Page 1 of 1
  • Login to start a new topic
  • You cannot reply to this topic

Emailing From Data Used In Voiceguide.commandlink

#1 User is offline   Brandon Icon

  • Group: Members
  • Posts: 13
  • Joined: 04-February 04

Posted 21 March 2004 - 08:20 PM

I want to email several different types of forms to multiple people. I have all of the email addresses entered into the voicemail section. These email address show up between the <EmailForward> and </EmailForward> tags in the VmBoxList.xml file.

Do you have a VB script that will grab this information from VoiceGuide.CommandLink and assign it a $RV variable to I can use this variable on the To: line of the send email module?

Thnaks,
-Brandon

Attached File(s)



#2 User is offline   SupportTeam Icon

  • Group: Admin
  • Posts: 13,474
  • Joined: 30-January 03

Posted 21 March 2004 - 10:56 PM

I think what you are asking is how to find out what the "EmailForward" setting is for a particular voicemail box, correct?

Please see the VoiceGuide help file's section on COM command Vm_VmbConfig_Get

eg: to find out the forwarding email address for voicemail box 0001 you would use:

sEmailAddr = vg.Vm_VmbConfig_Get("0001", "EmailForward")

#3 User is offline   Brandon Icon

  • Group: Members
  • Posts: 13
  • Joined: 04-February 04

Posted 22 March 2004 - 10:47 AM

Now that sEmailAddr has been identified. Example sEmailAddr = Brandon@aol.com How do I send a new email to this email address?

I want to run the email module and put the Brandon@aol.com on the To: line?

Do I need to convert sEmailAddr to a $RV value?

Thanks,
-Brandon

#4 User is offline   Brandon Icon

  • Group: Members
  • Posts: 13
  • Joined: 04-February 04

Posted 22 March 2004 - 10:52 AM

sEmailAddr = vg.Vm_VmbConfig_Get("0001", "EmailForward")
$RV[Get Email Address] = sEmailAddr

Can I now go to my email module and put in $RV[Get Email Address] on the To: Line?

Is the blue line above correct?

Thanks for all the help!
-Brandon

#5 User is offline   SupportTeam Icon

  • Group: Admin
  • Posts: 13,474
  • Joined: 30-January 03

Posted 22 March 2004 - 11:49 AM

The approach would be to use something like this in the "Run VB Script" module:

set vg = CreateObject("VoiceGuide.CommandLink")
sEmailAddr = vg.Vm_VmbConfig_Get("0001", "EmailForward")
vg.Run_ResultReturn iLineId, "[RetrievedEmailAddress]{" & sEmailAddr & "}"
set vg = Nothing


and then use

$RV[RetrievedEmailAddress]

in the "Send Email" module.

This post has been edited by SupportTeam: 26 March 2004 - 10:52 AM


#6 User is offline   Brandon Icon

  • Group: Members
  • Posts: 13
  • Joined: 04-February 04

Posted 22 March 2004 - 11:56 AM

You all are to Cool!

The support on this site is top notch!

This is the reason that you are highly talked about in a positive manor.

Thanks again,
-Brandon

#7 User is offline   SupportTeam Icon

  • Group: Admin
  • Posts: 13,474
  • Joined: 30-January 03

Posted 26 March 2004 - 10:54 AM

QUOTE
You all are to Cool!

The support on this site is top notch!
Thanks :)

BTW. The sample script supplied before was using the incorrect COM command to return information to VoiceGuide - it has now been corrected to use the "Run_ResultReturn"

Page 1 of 1
  • Login to start a new topic
  • You cannot reply to this topic