<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Sending mail using PT_MCF_MAIL</title>
		<link>http://www.peoplesoftwiki.com/forum/t-239735/sending-mail-using-pt-mcf-mail</link>
		<description>Posts in the discussion thread &quot;Sending mail using PT_MCF_MAIL&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 08 Feb 2012 20:58:07 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239735#post-799515</guid>
				<title>Re: Sending mail using PT_MCF_MAIL</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239735/sending-mail-using-pt-mcf-mail#post-799515</link>
				<description></description>
				<pubDate>Thu, 03 Jun 2010 02:51:23 +0000</pubDate>
				<wikidot:authorName>srinivas</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Thanks for posting<br /> I've posted the same question Oracle SUport</p> <p>from Metalink</p> <hr /> <p>In PT8.50 we have a new function called isdomainavailable to check if the email address's domain is valid or not. It pings DNS server to validate email addresses. Other than that, there is no other ways. Development has stated that Java mail on the outgoing server does not check for invalid address of TO address while sending an email. It just checks for the correct format of email address.<br /> If you consider to upgrade to PT8.50, this issue can be resolved.</p> <p>:-(<br /> Thanks<br /> Srinivas</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239735#post-776093</guid>
				<title>Re: Sending mail using PT_MCF_MAIL</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239735/sending-mail-using-pt-mcf-mail#post-776093</link>
				<description></description>
				<pubDate>Wed, 05 May 2010 23:47:12 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for posting this.</p> <p>One option is to use the properties:</p> <ul> <li><tt>InvalidAddress</tt></li> <li><tt>ValidUnsentAddresses</tt></li> <li><tt>ValidSentAddresses</tt></li> </ul> <p>However this is not a complete solution for example, after send, the property <tt>&amp;email.InvalidAddress</tt> will probably be sent for the first example address: <em>test_mail</em>.</p> <p>However, the second example address: <em>srinivas @ 1234.com</em> won't be considered invalid as your SMTP server will still attempt delivery - it <em>could</em> be a valid email address. Its only the mail delivery failure you get that lets you know it isn't. The email sent result is more about the success of the delivery of the email to the SMTP server, not necessarily to the email address.</p> <p>I'm not sure when the <tt>ValidUnsentAddresses</tt> property applies, I'm yet to find a scenario where it is populated.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239735#post-775712</guid>
				<title>Sending mail using PT_MCF_MAIL</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239735/sending-mail-using-pt-mcf-mail#post-775712</link>
				<description></description>
				<pubDate>Wed, 05 May 2010 16:18:44 +0000</pubDate>
				<wikidot:authorName>Srinivasa</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>We are using the following code to send a mail<br /> import PT_MCF_MAIL:*;</p> <p>Local PT_MCF_MAIL:MCFOutboundEmail &amp;email = create PT_MCF_MAIL:MCFOutboundEmail();</p> <hr /> <p>&amp;email.Recipients = "test_mail"; /*incorrect mail id*/<br /> or</p> <p>&amp;email.Recipients = "<span class="wiki-email">moc.4321|savinirs#moc.4321|savinirs</span>"; /*incorrect domain id*/</p> <hr /> <p>&amp;email.From = "";<br /> &amp;email.BCC = "";<br /> &amp;email.Subject = "Test mail";<br /> &amp;email.ReplyTo = "";<br /> &amp;email.ContentType = "text/html";<br /> &amp;res = &amp;email.Send();<br /> WinMessage("Mail Sent " | &amp;res | "-" | %ObEmail_Delivered, 0);</p> <p>I am passing wrong Recipients mail id. when we run this still its &amp;email.Send(); returning 1 (success)..<br /> is there any workaround in PS to validate the mailid against SMTP server.</p> <p>any idea?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
