Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » smtp problem
Re: smtp problem [message #28664 is a reply to message #28663] Fri, 10 September 2010 09:16 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 326
Registered: July 2009
Senior Member
Sc0rch wrote on Fri, 10 September 2010 08:12


maybe the package uses the part of string to define default SMTP-server (poczta.onet.pl)


Yes, it does:

String org;
		int pos = from.Find('@');
		if(pos >= 0)
		{
			int start = ++pos, len = from.GetLength();
			while(pos < len && from[pos] != '>')
				pos++;
			org = from.Mid(start, pos - start);
		}
		else
			org << ipaddr;

		SendRecvOK(socket, "HELO " + org + "\r\n", trans_ptr);


Question is why some servers reject this domain and accept smtp domain?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Socket: SYN_SENT stalled when ipscan connections in CoWork (MT)
Next Topic: Basic MT queries
Goto Forum:
  


Current Time: Sun May 05 07:28:05 CEST 2024

Total time taken to generate the page: 0.03176 seconds