AutoHotkey Community

It is currently May 27th, 2012, 10:07 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: May 31st, 2009, 11:05 am 
Offline

Joined: May 30th, 2009, 2:06 am
Posts: 25
What's the best way to copy text to the command line please?
I'm trying to input text similar to the following to use Blat:

teststring:="blat-test.ahk -t addy@whatever.com -s test -base64 -attach blat.dll -f youremailaddy@whatever.com -server smtpserver.pub.net"
i:=DllCall("blat.dll\Send",str,teststring)

Thanks for any help!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 20th, 2009, 9:23 am 
can someone make a sample on how it works using gmail server..i can't make it work..thanks..


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 20th, 2009, 11:43 am 
Offline

Joined: September 15th, 2006, 10:25 am
Posts: 567
Gmail needs ssl. You will require stunnel. Read the documentation of both blat and stunnel.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 13th, 2009, 7:32 am 
Enybody knows free-email service(hotmail, gmailt...). which would work blat, whithout ssl or any another extra adjustments?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 13th, 2009, 2:13 pm 
Offline

Joined: January 12th, 2007, 4:30 am
Posts: 531
Location: Norway
borobos wrote:
can someone make a sample on how it works using gmail server..i can't make it work..thanks..

You might be interested to know that Sean has written a script which uses COM/CDO to send emails through Gmail:
http://www.autohotkey.com/forum/viewtopic.php?t=39797


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 24th, 2010, 1:04 pm 
Code:
; tested with blat.dll version 2.6.2
Body = This is a message sent with blat.dll
Address = to@xxxxx.com
Subject = Greetings
SMTP = smtp.xxxx.com
Blat_String = - -body "%Body%" -t "%Address%" -s "%Subject%" -server "%SMTP%"
; or
; Blat_String = -body "%Body%" -t "%Address%" -s "%Subject%" -server "%SMTP%"
Blat_DLL:=DllCall("blat.dll\Send",str,Blat_String)
msgbox %Blat_DLL% ; 0 => OK
exitapp


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: specter333, XX0 and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group