damienvanrobaeys / About_my_device

About my device: A systray tool for that displays device information and run action like send logs or sync device
34 stars 6 forks source link

Issues on support Tab in Abut my Device #4

Open christophFeiker opened 3 years ago

christophFeiker commented 3 years ago

Found two issues in the support tab.

  1. The Website Link does not work you are referencing wrong variable $Website.Add_PreviewMouseDown({ }) instead of $Website.Add_PreviewMouseDown({ })
  2. Send us a mail does not use mail address configured in support.xml $Mail.Add_PreviewMouseDown({ $Our_Mail = "damien.vanrobaeys@gmail.com" $Computer_Name = $env:computername $User_Name = $env:username $Mail_Object = "Issue from user $User_Name on device $Computer_Name" Start-Process "mailto:dhub01@domain.tld?Subject=$Mail_Object&Cc=dhub02@domain.tld&Body=$Mail_Object" }) instead of $Mail.Add_PreviewMouseDown({ $Computer_Name = $env:computername $User_Name = $env:username $Mail_Object = "Issue from user $User_Name on device $Computer_Name" $Mail_Command = "mailto:" + $Our_Mail+ "?Subject=$Mail_Object&Body=$Mail_Object" Start-Process $Mail_Command })
damienvanrobaeys commented 3 years ago

Thanks, actually i already solved the first issue, not upolad it for now. I will close the issue once ip updated the tool. Regarding the second one, the $mail part is not used, it should be commmented. The mail from the systray is located in file AboutMyDevice_Systray.ps1 Thx a lot for your feedback

christophFeiker commented 3 years ago

please let me know when new version is updated. Regarding mail form. How can I disable it? I do not see an option in the code.

kevs18 commented 3 years ago

Any update on this ? Commented out the $mail but still not working