Send an email

Get help with using AutoHotkey and its commands and hotkeys
samking
Posts: 1
Joined: 18 May 2015, 10:14

Send an email

18 May 2015, 10:25

Hello,
I would like make a script with AutoHotkey than send an email to multi-users.
I've seen a lot of examples but that did'nt work for me :(

Here is my script :

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



The error is :
"The 'SendUsing' configuration value is invalid"

I've made test with my Outlook email and I changed my smtp,user and password settings but there aren't any changes.
I use this smtp to send/mail dayli without any problem.
I have AutoHotkey v 1.1.22.00, if you could help me, thank you ery much :D
User avatar
flyingDman
Posts: 73
Joined: 29 Sep 2013, 19:01
Location: Burbank, California

Re: Send an email

18 May 2015, 17:14

try this: (works here)

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

User avatar
T_Lube
Posts: 67
Joined: 22 Oct 2014, 00:57

Re: Send an email

19 May 2015, 04:53

I have this function, that not being an admin on my system I couldn't get Outlook to stop trying to stop it from running for security reasons, but if you don't have outlook then this doesn't do you any good.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

iPhilip
Posts: 287
Joined: 02 Oct 2013, 12:21

Re: Send an email

08 Sep 2015, 00:12

I posted a solution that uses system.net.mail here.
Windows 7 Pro (64 bit) - AutoHotkey v1.1+ (Unicode 32-bit)
ketchup208
Posts: 2
Joined: 21 Jul 2016, 07:39

Re: Send an email

15 Sep 2016, 07:06

Hello sorry for bringing this up but
how to give sAttach a variable, it works if i give it a static path but do not work if i give the path as variable

the needed code :

Code: [Select all] [Download] GeSHi © Codebox Plus

logpath=%A_Desktop%\InstallationLogs(TODELETE).txt

;i tried all of those with no success
sAttach := %logpath%
sAttach := logpath
sAttach = %logpath%
sAttach := "%logpath%"


any help will be appreciated
ketchup208
Posts: 2
Joined: 21 Jul 2016, 07:39

Re: Send an email

15 Sep 2016, 07:44

ok just fixed it by

Code: [Select all] [Download] GeSHi © Codebox Plus

sAttach := A_Desktop . "\InstallationLogs(TODELETE).txt"


i will keep it for the records

thanks anyway

Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 45 guests