Steven Vandenhoute Posted January 28, 2009 Posted January 28, 2009 Is there a way to change the smtp port in _INetSmtpMail ? I was looking in the help and the forum and didn't find a way to do it... Can you help me? "You cannot solve a problem with the mind that created it" (Albert Einstein)
KaFu Posted January 28, 2009 Posted January 28, 2009 Is there a way to change the smtp port in _INetSmtpMail ?_INetSmtpMail() is part of Inet.au3 (in Include dir). There you'll see a line$v_Socket = TCPConnect($s_IPAddress, 25)copy the function to _INetSmtpMailEx() in your script and change the port as desired. Still include Inet.au3, as the function utilizes some help-func from it. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2025-May-18) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
BrettF Posted January 28, 2009 Posted January 28, 2009 Another option is Jos' SMTP mailer that supports HTML, attachments among other things.The topic can be found here:http://www.autoitscript.com/forum/index.php?showtopic=23860Cheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
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