![]() |
| | #1 |
| Registered User Join Date: Oct 2003
Posts: 21
| port 25 block.. the problem is.. what to do if the ISP of the user blocks all but the isp's smtp server?? there must be a loophole to it.. someway to go around this.. maybe someway to get the STMP server used by the user on windows registry (without relying on something like outlook, etc..) Thanks!! |
| ROCKaMIC is offline | |
| | #2 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| connect directly to the dest. user's smtp server then! you see, when you send a mail with your isp's local smtp server it gets forwarded to the destination's smtp server. example: you send to user@hotmail.com from me@netvision.net.il what happens is you send the mail with your local server: mailgw.netvision.net.il and it forwards it to one of hotmail.com's smtp servers (like mx1.hotmail.com). in other words, you can simply send the mail directly to hotmail.com's smtp server! goodluck.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #3 |
| Registered User Join Date: Oct 2003
Posts: 21
| fixed some cases.. thanksbut what if the isp only gives access to their smtp server and none other? :S |
| ROCKaMIC is offline | |
| | #4 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,648
| Probably to stop spammers |
| Salem is offline | |
| | #5 | |
| Registered User Join Date: Oct 2003
Posts: 21
| Quote:
So the most ethic solution would be just find the default smtp of a computer.. somewhere in windows' registry or something.. no idea | |
| ROCKaMIC is offline | |
| | #6 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| what do you mean by a smtp of a computer??? and about your isp blocking, well... your isp sucks, they have no right to do so! what are you living in china or something?!
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #7 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,648
| > the problem is.. what to do if the ISP of the user blocks all but the isp's smtp server?? If the user can use their normal email client to send email via mail.myisp.com, then any program of yours which also conforms to RFC821 will also be able to send mail via mail.myisp.com ALL mail goes via your local gateway, where it is then forwarded to the destination. You DONT connect directly to the destination address in order to send someone email. Only incompetent and spam-friendly admins allow unknown persons to connect to mail.randomisp.com from which they can fake all their details and spam anyone they like with near untraceability. |
| Salem is offline | |
| | #8 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| but you can act as a smtp server farwarding mail and connect the dest. smtp server yourself and send mail to it's user!
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #9 |
| Yes, my avatar is stolen Join Date: Dec 2002
Posts: 2,544
| >> If the user can use their normal email client to send email via mail.myisp.com, then any program of yours which also conforms to RFC821 will also be able to send mail via mail.myisp.com << I think ROCKaMIC is asking how you get the value "mail.myisp.com" without asking the user for it. ROCKaMIC, if you can convince me that you have a valid reason for getting this without asking the user, I can give you some hints. Your talk of a "loophole" doesn't exactly fill me with confidence. For further information on why many ISPs block outbound direct email, see search: spam zombie. |
| anonytmouse is offline | |
| | #10 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| in other words he's looking for the user's smtp server's address. you will need mx dns lookup for this: network-tools.com check the E-mail Validation, and type the user's e-mail address. it will give a list of mx servers, that's the smtp servers for that domain.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
| | #11 |
| Registered User Join Date: Jul 2004
Posts: 24
| Hey 'RockaMic' would you be so kind as to show me your code used to send the email? I've tried various ways using winsock, and I've not found a workable solution yet. thank you |
| w4ck0z is offline | |
| | #12 |
| * Death to Visual Basic * Join Date: Aug 2001
Posts: 768
| you will need to learn the smtp commands, for a short and simple ref. i suggest: http://www.bsrf.org.uk/tutorials/sendmail.html unless your problem is with network programming, because there isn't much to it, you just send these commands to the smtp server.
__________________ "I don't suffer from insanity but enjoy every minute of it" - Edgar Allen Poe http://www.Bloodware.net - Developing free software for the community. |
| Devil Panther is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Not returning correct results | drty2 | C Programming | 4 | 01-19-2009 12:39 PM |
| FTP program | jakemott | Linux Programming | 14 | 10-06-2008 01:58 PM |
| brace-enclosed error | jdc18 | C++ Programming | 53 | 05-03-2007 05:49 PM |
| HUGE fps jump | DavidP | Game Programming | 23 | 07-01-2004 10:36 AM |
| Manipulating the Windows Clipboard | Johno | Windows Programming | 2 | 10-01-2002 09:37 AM |