Tipp 13897

Frage

CAD 
 %  Platform  Kategorie 
A
Autodesk Inventor Tipp: Mit einer einfachen Regel im iLogic-Code können Sie jede beliebige E-Mail in Ihrem Microsoft Outlook versenden (oder den Versand vorbereiten).

Beispiel für ein E-Mail-Makro:

oOlApp = CreateObject("Outlook.Application")
oOlMail = oOlApp.CreateItem(0)

strbody = "<‍p style='font-family:calibri;font-size:16'>" & "Howdy," & "<‍br><‍br>" & vbNewLine & vbNewLine & _
	"I'm contacting you regarding the part " + iProperties.Value("Project", "Part Number") & "<‍/p>" & vbNewLine
			   
With oOlMail
    .bodyformat=2
    .To = "vladimir.michl@arkance-systems.com"
    .CC = ""
    .BCC = ""
    .Subject = "iLogic mail - sample"
    .HTMLbody = strbody
    '.Attachments.Add (FilePath & "\" & File & ".jpg")
    '.Display 
	.Send ' or just Display
End With
Inventor
100% *  CAD 
26.10.2023    1423×  

Zurück zu Tipps