Paulie Posted May 11, 2006 Share Posted May 11, 2006 I cant get the func to work, here is the sending portion of my code, whats wrong with it (it acts like it sends, then doesn't) hotkeyset('{INS}', 'Send') func send() _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body, $s_AttachFiles) endFunc ;--------------Variables-------------------------- ;~~~ $s_FromName= "Sent File" $s_SmtpServer= InputBox("Server", "Input Smtp Server Adress") $s_ToAddress= InputBox("To:","Input E-mail Adress to send to") $s_FromAddress= InputBox("From:", "Input your E-mail adress") $s_Subject= InputBox("Subject:","Input the Title of Email") $as_Body = "File is attached" $s_AttachFiles = $file ;have "$file" defined elsewere, its an HTML file Note: i think Mozilla thunderbird supports SMTP, bu i dunno if this is right or if my Smtp stuff isn't configured right Link to comment Share on other sites More sharing options...
Uten Posted May 11, 2006 Share Posted May 11, 2006 (edited) Does it work if you replace the inputbox statements with some strings? $s_SmtpServer= "smtp.gmail.com";Requieres account? $s_ToAddress= "someone@mydomain.net" $s_FromAddress= "mymail@mydomain.net" $s_Subject= "Just a dummy mail" Checking if any @error is set would be clever to Edited May 11, 2006 by Uten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now