Sign in to follow this  
Followers 0
autoItrules209

_INETSMTPMail & local SMTP Server

2 posts in this topic

Hallo Guys

I want to use _INetSmtpMail-Function in connection with a local smtp server, But now I have 2 Problems....

1st:

_INetSmtpMail ("127.0.0.1","From","mail@senderhost.com","mail@recipienthost.com","Title",$a_body)

Returns an @error 50 - Helpfile says "Cannot open SMTP session" - but I dont know how to fix this issue

currently I'm using "Free SMTP Server" - maybe someone has another, better SMTP Server which I can use locally?!

2nd:

Using _INetSmtpMail ("127.0.0.1:123","From","mail@senderhost.com","mail@recipienthost.com","Title",$a_body)

results in @error=3 (IP adress cannot be resolved) - so how can I specify a port, maybe my IP blocks port25?!

Share this post


Link to post
Share on other sites



well, I solved this changing $s_first - but now I get @error 5000 - cant close connection....

connection to receiving host works now (as my firewall reports), but because of this error no mail is delivered to the recipent....

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0