Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 what about a "from: no-reply@domain.com" feature? i want to make a newsletter for my website and i don't want to show my gmail accountWhat is stopping you now from doing that? The provider of course needs to support this, but you can fill in the FromAddress in this UDF.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 What is stopping you now from doing that? The provider of course needs to support this, but you can fill in the FromAddress in this UDF. Jos I have this configuration: $SmtpServer = "smtp.gmail.com" ; address for the smtp-server to use - REQUIRED $FromName = "Newsletter" ; name from who the email was sent $FromAddress = "no-reply@iulianonofrei.com" ; address from where the mail should come $ToAddress = "me@yahoo.com" ; destination address of the email - REQUIRED $Subject = "New photo on iulianonofrei.com" ; subject from the email - can be anything you want it to be $Body = "body" ; the messagebody from the mail - can be left blank but then you get a blank mail $AttachFiles = "" ; the file(s) you want to attach seperated with a ; (Semicolon) - leave blank if not needed $CcAddress = "" ; address for cc - leave blank if not needed $BccAddress = "" ; address for bcc - leave blank if not needed $Importance = "Normal" ; Send message priority: "High", "Normal", "Low" $Username = "username" ; username for the account used from where the mail gets sent - REQUIRED $Password = "password" ; password for the account used from where the mail gets sent - REQUIRED $IPPort = 465 ; port used for sending the mail $ssl = 1 ; enables/disables secure socket layer sending - put to 1 if using httpS And in the mail it shows up that it is from username@gmail.com and not no-reply@iulianonofrei.com [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 Sure...now think about this a little......... Why you you think that Google doesn't allow you to change the From Email Address? As said, it depends on the provider what they will allow or not and Google lets you login before sending emails and due to that, knows your original address. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 Sure...now think about this a little......... Why you you think that Google doesn't allow you to change the From Email Address? As said, it depends on the provider what they will allow or not and Google lets you login before sending emails and due to that, knows your original address.JosSo ... do you know a provider which let's me do this? [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 Nope, but did you figure out yet why most providers likely will not allow to change it? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 Nope, but did you figure out yet why most providers likely will not allow to change it?Of course ) ... spam ... but I wanted to make a newsletter for my website ... [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 Yeap Maybe a ".ReplyTo" would help you ? you could add that parameter to the UDF. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 If only i would know how to do this ) [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 Gmail has done many security measures against SPAM. you can read here how to set up some ReplyTo options in Gmail.Just wondering why you are not using your own MX for sending the Emails?Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 Gmail has done many security measures against SPAM. you can read here how to set up some ReplyTo options in Gmail.Just wondering why you are not using your own MX for sending the Emails?JosI tried it a lot but i keep getting error 2 [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 There should be more information than just Error = 2. The func returns a description from the MyErrFunc() and you should also see the info from MyErrFunc() in the OutputPane when you run it from SciTE. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 ### COM Error ! Number: 80020009 ScriptLine: 105 Description:The transport failed to connect to the server. [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Developers Jos Posted April 8, 2012 Author Developers Share Posted April 8, 2012 You are sure that: - MailServer IP address used is correct. - You have the SMTP service Enabled on your Mailserver. - You allow the SMTP for the PC/Server you are sending the Email from. Have you checked the Server's Logs to see what is happening? What kind of mailserver are you running? Is this a local or a Provider's Mailserver? Have you tried sending an EMail with for example OutlookExpress to this server just to test SMTP? Have you tested with Regular SMTP with the CDO UDF? You can clearly see that you haven't provided enough information for anybody to have a clear understanding why it isn't working on your own Mail server. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Revolter Posted April 8, 2012 Share Posted April 8, 2012 It's too complicated ... i found a website that helps with newsletter ... sorry for the trouble caused [center]Sorry for my bad english. Trying my best :Dhttp://iulianonofrei.comhttp://www.last.fm/user/Revolt666 [/center] Link to comment Share on other sites More sharing options...
Opie Posted May 1, 2012 Share Posted May 1, 2012 When I use this UDF it only sends sometimes..and when it does it takes nearly an hour to get to my email. I really enjoy this UDF, but I noticed that a fucntion for sending SMTP mail was recently added to autoit beta. Is your UDF still better? (seeing as it supports attachments) Link to comment Share on other sites More sharing options...
water Posted May 1, 2012 Share Posted May 1, 2012 There shouldn't be a problem with the UDF. If it sends the mail - fine. Taking hours to receive the mail looks like a problem with the ISP. If it doesn't send the mail then you get an error code which should clearly explain what's going on. My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Opie Posted May 3, 2012 Share Posted May 3, 2012 There shouldn't be a problem with the UDF.If it sends the mail - fine. Taking hours to receive the mail looks like a problem with the ISP.If it doesn't send the mail then you get an error code which should clearly explain what's going on.Not sure what it is, but i'll get over it right? Link to comment Share on other sites More sharing options...
water Posted May 3, 2012 Share Posted May 3, 2012 Right My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
AutoitMike Posted May 24, 2012 Share Posted May 24, 2012 I am getting an error code 2 the transport failed to connect to the server. Am I using the wrong address? The web address is https://pwpi.dnsalias.com/exchange/, this is where i use the gui. Do I need to get thius from the people managing this server? Thanks Mike Link to comment Share on other sites More sharing options...
water Posted May 24, 2012 Share Posted May 24, 2012 Am I using the wrong address?Yes, you need to pass an SMTP address like firstname.lastname@company.com My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki 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