Jump to content

_INETSMTPMail & local SMTP Server


Recommended Posts

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?!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...