SMTP auth?
hi folks
is there a way to send mails with smtp authentification from amx?
i use now !-email (in/out), but now i need the auth.
can anyone give me a help?
thanks a lot
john
is there a way to send mails with smtp authentification from amx?
i use now !-email (in/out), but now i need the auth.
can anyone give me a help?
thanks a lot
john
0
Comments
thanks for your answer. i will check it.
thanks
john
sorry, but the i!-EquipmentMonitor hasn't the auth in it :-(
i try it today for sending mails. one receiver of my own domain- that works,but when i will send to another receiver, how isn't part of my domainname, the mail will rejected from the smtp server (auth failed!)
If you know another way , please let me know
thanks john
Look for the following lines in either i!-EquipmentMonitorOut or i!-EquipmentMonitorIn. I'm not exactly sure where as my code has been modified. You need to find out your email servers URL, in the code snippet below are examples for Yahoo. Then you also need to find out what ports it operates on and what alternate port if any. Typically SMTP is on port 25 but as most ISPs block port 25 you'll need to use the alternate. For Yahoo it's 587. The POP3 port should be fine on port 110 as there's no reason for ISPs to block that port.
If you want to test your email you can telnet your email server directly and display your email in the telnet window. There's about six commands you'll need to know once in.
This might be a product of the SMTP server, not your code. Most SMTP servers will not accept connections from outside their own name space, correct authorization or not. Conversely, a great many of them don't care at all about authorization as long as the connection comes from their own name space. Unless the ISP providing the SMTP server is set up for allowing this, nothing will get through. You need to send the e-mail as if it were from the SMTP server's domain, not yours. It goes by header information, by the way, not actual point of origin. I've gotten away with using a completely fake e-mail origin in the header, as long as it's within the SMTP server;s name space.
thanks for your answer.
there is no function call in the out.axi for setting user/pass. can i look also into your function in the out.axi? i think there must be also a function for making the user/pass into base64 coding. this is the simplest auth for smtp.
thanks
john
yes, i try with my smtp server from my isp. but when i will send a email outside of my domain i need the auth. no way!
the smtp server needs auth with base64 coding (user/pass), before sending the FROM: and TO:.
pat
It all because of spam abuse.
Both my email accounts require authenication regardless and one is from my ISP.
so here is is the solution :-)
i try a little with the smtp-protocoll and include the auth process into the axi.
so let me know if someone needs the code.
thanks for all your help.
john