﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>A1VBCode Forums / Visual Basic (VB 4/5/6) / Game Programming  / How to send email / Latest Posts</title><generator>InstantForum.NET v4.1.1</generator><description>A1VBCode Forums</description><link>http://www.a1vbcode.com/vbforums/</link><webMaster>forums@a1vbcode.com</webMaster><lastBuildDate>Wed, 07 Jan 2009 02:48:38 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>&lt;div class="Quote"&gt;&lt;b&gt;emily12 (9/9/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;this function can use send email in php&lt;BR&gt;mail(to,subject,message,headers,parameters)&lt;BR&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Maybe so emily but PHP isn't VB. &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Wink.gif" border="0" title="Wink"&gt;</description><pubDate>Tue, 09 Sep 2008 07:05:34 GMT</pubDate><dc:creator>Keithuk</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>this function  can use send email in php&lt;br&gt;mail(to,subject,message,headers,parameters)&lt;br&gt;&lt;br&gt;&lt;br&gt;___________________________________________________________&lt;br&gt;&lt;a href="http://www.webdesigningcompany.net/" target="_blank" class="SmlLinks"&gt;web site designer&lt;/a&gt; &lt;br&gt;[url=http://freetemplates.webdesigningcompany.net/]free web templates&lt;br&gt;[/url]&lt;br&gt;</description><pubDate>Tue, 09 Sep 2008 02:58:50 GMT</pubDate><dc:creator>emily12</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>Welcome to A1vbcode &lt;STRONG&gt;garsky&lt;/STRONG&gt;.  &lt;IMG src="http://www.a1vbcode.com/vbforums/Uploads/Images/fc66bc0b-b946-447b-8d8a-9a6b.gif"&gt;&lt;P&gt;&lt;div class="Quote"&gt;&lt;b&gt;garsky (8/16/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;jackpot! This is what exactly i'm looking for. Thanks for the post.&lt;/div&gt;&lt;/P&gt;&lt;P&gt;You're welcome garsky.&lt;/P&gt;&lt;P&gt;You will have to watch pressing the &lt;STRONG&gt;Post Reply&lt;/STRONG&gt; button because I've just seen two double posts. &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Wink.gif" border="0" title="Wink"&gt;</description><pubDate>Sat, 16 Aug 2008 18:01:51 GMT</pubDate><dc:creator>Keithuk</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>jackpot! This is what exactly i'm looking for. Thanks for the post.</description><pubDate>Sat, 16 Aug 2008 10:04:22 GMT</pubDate><dc:creator>garsky</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>jackpot! This is what exactly i'm looking for. Thanks for the post.</description><pubDate>Sat, 16 Aug 2008 10:02:11 GMT</pubDate><dc:creator>garsky</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>Welcome to A1vbcode &lt;STRONG&gt;tejal&lt;/STRONG&gt;. &lt;IMG src="http://www.a1vbcode.com/vbforums/Uploads/Images/d7f4dc06-7bfd-4324-89f3-5ba8.gif"&gt;&lt;P&gt;&lt;div class="Quote"&gt;&lt;b&gt;tejal09 (8/7/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to achieve same&lt;/P&gt;&lt;P&gt;Want to send mail from Defalut mail client.&lt;/P&gt;&lt;P&gt;But with that want to format body text also.&lt;/P&gt;&lt;P&gt;Want to add image also.&lt;/div&gt;&lt;/P&gt;&lt;P&gt;Its very difficult to put in the text body and attachments with ShellExecute.&lt;/P&gt;&lt;P&gt;There are ways with OutLook but you have to reference OutLook. I don't have OutLook installed.&lt;/P&gt;&lt;P&gt; Have you thought about &lt;STRONG&gt;vbSendMail.dll&lt;/STRONG&gt; ? Do a web search for it. &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Wink.gif" border="0" title="Wink"&gt;</description><pubDate>Thu, 07 Aug 2008 17:00:17 GMT</pubDate><dc:creator>Keithuk</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I want to achieve same&lt;/P&gt;&lt;P&gt;Want to send mail from Defalut mail client.&lt;/P&gt;&lt;P&gt;But with that want to format body text also.&lt;/P&gt;&lt;P&gt;Want to add image also.&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;How to achieve this ?</description><pubDate>Thu, 07 Aug 2008 08:07:48 GMT</pubDate><dc:creator>tejal09</dc:creator></item><item><title>RE: How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>Welcome to A1vbcode &lt;STRONG&gt;TheProgrammer&lt;/STRONG&gt;.  &lt;IMG src="http://www.a1vbcode.com/vbforums/Uploads/Images/7b208e67-2905-48bd-b694-75de.gif"&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="Quote"&gt;&lt;b&gt;TheProgrammer (5/28/2008)&lt;/b&gt;&lt;hr noshade size="1" class="hr"&gt;I want to how to send an email to a known address using vb&lt;/div&gt;&lt;/P&gt;&lt;P&gt;To send a basic email all you need to use is the &lt;STRONG&gt;ShellExecute&lt;/STRONG&gt; API call.&lt;/P&gt;&lt;DIV style="BORDER-RIGHT: #000000 3px solid; PADDING-RIGHT: 25px; BORDER-TOP: #000000 3px solid; PADDING-LEFT: 25px; BACKGROUND-IMAGE: none; PADDING-BOTTOM: 25px; BORDER-LEFT: #000000 3px solid; PADDING-TOP: 25px; BORDER-BOTTOM: #000000 3px solid; BACKGROUND-COLOR: #cccccc"&gt;&lt;FONT color=#0000cc&gt;Option&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Explicit&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#0000cc&gt;Private&lt;/FONT&gt; Declare &lt;FONT color=#0000cc&gt;Function&lt;/FONT&gt; ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (&lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; hwnd &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Long&lt;/FONT&gt;, _&lt;BR&gt;&lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; lpOperation &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;String&lt;/FONT&gt;, &lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; lpFile &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;String&lt;/FONT&gt;, &lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; lpParameters &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;String&lt;/FONT&gt;, &lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; lpDirectory &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;String&lt;/FONT&gt;, _&lt;BR&gt;&lt;FONT color=#0000cc&gt;ByVal&lt;/FONT&gt; nShowCmd &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Long&lt;/FONT&gt;) &lt;FONT color=#0000cc&gt;As&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Long&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#0000cc&gt;Const&lt;/FONT&gt; SW_SHOW = 5&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#0000cc&gt;Private&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Sub&lt;/FONT&gt; Command1_Click()&lt;BR&gt;&lt;BR&gt;ShellExecute Me.hwnd, "open", "mailto:" &amp;amp; "youremail@address" &amp;amp; _&lt;BR&gt;"?subject=" &amp;amp; "Subject Title", vbNullString, vbNullString, SW_SHOW&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#0000cc&gt;End&lt;/FONT&gt; &lt;FONT color=#0000cc&gt;Sub&lt;/FONT&gt;&lt;BR&gt;&lt;/DIV&gt;&lt;P&gt;By the way you have posted this in the wrong forum, this is the Game Programming forum, perhaps Admin will move it to General VB. &lt;img align="absmiddle" src="http://www.a1vbcode.com/vbforums/Skins/Classic/Images/EmotIcons/Wink.gif" border="0" title="Wink"&gt;</description><pubDate>Wed, 28 May 2008 07:15:33 GMT</pubDate><dc:creator>Keithuk</dc:creator></item><item><title>How to send email</title><link>http://www.a1vbcode.com/vbforums/Topic25031-8-1.aspx</link><description>I want to how to send an email to a known address using vb</description><pubDate>Wed, 28 May 2008 03:14:30 GMT</pubDate><dc:creator>TheProgrammer</dc:creator></item></channel></rss>