VoiceGuide IVR Software Main Page
Jump to content

Emailing From Data Used In Voiceguide.commandlink

Recommended Posts

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

brandon_house_info.net

Share this post


Link to post

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")

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

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.

Edited by SupportTeam

Share this post


Link to post

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

Share this post


Link to post
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"

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×