Brandon Report post Posted 03/21/2004 10:20 AM 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
SupportTeam Report post Posted 03/21/2004 12: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") Share this post Link to post
Brandon Report post Posted 03/22/2004 12: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 Share this post Link to post
Brandon Report post Posted 03/22/2004 12: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 Share this post Link to post
SupportTeam Report post Posted 03/22/2004 01:49 AM (edited) 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 03/26/2004 12:52 AM by SupportTeam Share this post Link to post
Brandon Report post Posted 03/22/2004 01: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 Share this post Link to post
SupportTeam Report post Posted 03/26/2004 12:54 AM 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