<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Envíar Email con PHP</title> <atom:link href="http://blog.unijimpe.net/enviar-e-mail-con-php/feed/" rel="self" type="application/rss+xml" /><link>http://blog.unijimpe.net/enviar-e-mail-con-php/</link> <description>Desarrollo Web, SEO, Adsense</description> <lastBuildDate>Wed, 08 Feb 2012 16:05:03 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: jose luis</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-44683</link> <dc:creator>jose luis</dc:creator> <pubDate>Thu, 12 Jan 2012 19:00:08 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-44683</guid> <description>yo estoy usando un modem usb claro para conectarme a internet  y ya instale el 1st Mail Server y dice que tengo una dirreccion ip dinamica y que contacte al proveedor. como hacer la ip fija sin contactar al servidor y cual seria el nombre del servidor smtp en el php.ini actualmente lo tengo configurado asi: [mail function] ; For Win32 only. SMTP =EQUIPO smtp_port=25; For Win32 only. sendmail_from =thuching@gmail.com ; For Unix only.  You may supply arguments as well (default: &quot;sendmail -t -i&quot;). ;sendmail_path =</description> <content:encoded><![CDATA[<p>yo estoy usando un modem usb claro para conectarme a internet  y ya instale el 1st Mail Server y dice que tengo una dirreccion ip dinamica y que contacte al proveedor.<br /> como hacer la ip fija sin contactar al servidor y cual seria el nombre del servidor smtp en el php.ini actualmente lo tengo configurado asi:<br /> [mail function]<br /> ; For Win32 only.<br /> SMTP =EQUIPO<br /> smtp_port=25</p><p>; For Win32 only.<br /> sendmail_from =thuching@gmail.com<br /> ; For Unix only.  You may supply arguments as well (default: &#8220;sendmail -t -i&#8221;).<br /> ;sendmail_path =</p> ]]></content:encoded> </item> <item><title>By: israel</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-44170</link> <dc:creator>israel</dc:creator> <pubDate>Wed, 14 Dec 2011 19:32:51 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-44170</guid> <description>Hola me sale el siguientiente error: Warning: mail() [function.mail]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in C:\inetpub\vhosts\relojeriamorlet.com\httpdocs\php-mail.php on line 31que hago!!!</description> <content:encoded><![CDATA[<p>Hola me sale el siguientiente error:<br /> Warning: mail() [function.mail]: Failed to connect to mailserver at &#8220;localhost&#8221; port 25, verify your &#8220;SMTP&#8221; and &#8220;smtp_port&#8221; setting in php.ini or use ini_set() in C:\inetpub\vhosts\relojeriamorlet.com\httpdocs\php-mail.php on line 31</p><p>que hago!!!</p> ]]></content:encoded> </item> <item><title>By: Valeria</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43984</link> <dc:creator>Valeria</dc:creator> <pubDate>Fri, 02 Dec 2011 23:00:31 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43984</guid> <description>Hola... como estan? implemente todo tu codigo pero no me llega el mail al correo destinatario... visualize con ECHO los datos a enviar y los toma correctamente, pero la funcion no toma los parametros indicados... ya que visualize con un ECHO la variable $vacio y sale &quot;Error de envio&quot;...</description> <content:encoded><![CDATA[<p>Hola&#8230; como estan? implemente todo tu codigo pero no me llega el mail al correo destinatario&#8230; visualize con ECHO los datos a enviar y los toma correctamente, pero la funcion no toma los parametros indicados&#8230; ya que visualize con un ECHO la variable $vacio y sale &#8220;Error de envio&#8221;&#8230;</p> ]]></content:encoded> </item> <item><title>By: unijimpe</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43738</link> <dc:creator>unijimpe</dc:creator> <pubDate>Fri, 18 Nov 2011 15:33:51 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43738</guid> <description>&lt;strong&gt;Jose&lt;/strong&gt;, para colocar el nombre o email del remitente debes cambiar la propiedad &lt;em&gt;From&lt;/em&gt;, en el ejemplo que mencionas:&lt;code&gt;&quot;From: \&quot;$vname\&quot; \nReply-To: ...&lt;/code&gt; Cambialo a: &lt;code&gt;&quot;From: \&quot;tumail@tuempresa.com\&quot; \nReply-To: ...&lt;/code&gt;&lt;strong&gt; Veronica&lt;/strong&gt; en tu caso el mensaje sale por que no tienes instalado un servidor SMTP, este es un servidor que se encarga de hacer el envio de correos.</description> <content:encoded><![CDATA[<p><strong>Jose</strong>, para colocar el nombre o email del remitente debes cambiar la propiedad <em>From</em>, en el ejemplo que mencionas:</p><p><code>"From: \"$vname\" \nReply-To: ...</code><br /> Cambialo a:<br /> <code>"From: \"tumail@tuempresa.com\" \nReply-To: ...</code></p><p><strong> Veronica</strong> en tu caso el mensaje sale por que no tienes instalado un servidor SMTP, este es un servidor que se encarga de hacer el envio de correos.</p> ]]></content:encoded> </item> <item><title>By: Veronica</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43736</link> <dc:creator>Veronica</dc:creator> <pubDate>Fri, 18 Nov 2011 15:14:50 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43736</guid> <description>( ! ) Warning: mail() [function.mail]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in C:\wamp\www\suite.galapagos\enviar.php on line 30 Call Stack # Time Memory Function Location 1 0.0005 377568 {main}( ) ..\enviar.php:0 2 0.0006 378600 mail ( ) ..\enviar.php:30</description> <content:encoded><![CDATA[<p>( ! ) Warning: mail() [function.mail]: Failed to connect to mailserver at &#8220;localhost&#8221; port 25, verify your &#8220;SMTP&#8221; and &#8220;smtp_port&#8221; setting in php.ini or use ini_set() in C:\wamp\www\suite.galapagos\enviar.php on line 30<br /> Call Stack<br /> # Time Memory Function Location<br /> 1 0.0005 377568 {main}( ) ..\enviar.php:0<br /> 2 0.0006 378600 mail ( ) ..\enviar.php:30</p> ]]></content:encoded> </item> <item><title>By: Veronica</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43735</link> <dc:creator>Veronica</dc:creator> <pubDate>Fri, 18 Nov 2011 15:13:16 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43735</guid> <description>tengo este erorr y no se como solucionarlo me prodria ayudar se lo agradeceria muchismo</description> <content:encoded><![CDATA[<p>tengo este erorr y no se como solucionarlo me prodria ayudar se lo agradeceria muchismo</p> ]]></content:encoded> </item> <item><title>By: jose</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43733</link> <dc:creator>jose</dc:creator> <pubDate>Fri, 18 Nov 2011 14:28:46 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43733</guid> <description>quiero cambiarle el remitente a este codigo send.php&lt;code&gt;&lt;? /************************ * Variables que puedes cambiar *************************/$mailto = &quot;emailto@send.com&quot;; $cc = &quot;&quot;; $bcc = &quot;&quot;; $subject = &quot;Formulario de contacto&quot;; $vname = &quot;Contacto web&quot;; $email = $_POST[&#039;email&#039;];function validateEmail($email) { if(eregi(&#039;^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z]{2,4}(\.[a-zA-Z]{2,3})?(\.[a-zA-Z]{2,3})?$&#039;, $email)) return true; else return false; }if((strlen($_POST[&#039;name&#039;]) &lt; 1 ) &#124;&#124; (strlen($email) &lt; 1 ) &#124;&#124; (strlen($_POST[&#039;message&#039;]) &lt; 1 ) &#124;&#124; validateEmail($email) == FALSE){ $emailerror .= &#039;&#039;; if(strlen($_POST[&#039;name&#039;]) &lt; 1 ){ $emailerror .= &#039;Enter name&#039;; } if(strlen($email) &lt; 1 ){ $emailerror .= &#039;Enter email&#039;; } if(validateEmail($email) == FALSE) { $emailerror .= &#039;Enter valid email&#039;; } if(strlen($_POST[&#039;message&#039;]) &lt; 1 ){ $emailerror .= &#039;Enter message&#039;; } } else { $emailerror .= &quot;Your email has been sent successfully&quot;; // NOW SEND THE ENQUIRY $timestamp = date(&quot;F j, Y, g:ia&quot;); $messageproper =&quot;\n\n&quot; . &quot;Name: &quot; . ucwords($_POST[&#039;name&#039;]) . &quot;\n&quot; . &quot;Email: &quot; . ucwords($email) . &quot;\n&quot; . &quot;Website: &quot; . ucwords($_POST[&#039;website&#039;]) . &quot;\n&quot; . &quot;Company: &quot; . ucwords($_POST[&#039;company&#039;]) . &quot;\n&quot; . &quot;Comments: &quot; . $_POST[&#039;message&#039;] . &quot;\n&quot; . &quot;\n\n&quot; ;$messageproper = trim(stripslashes($messageproper)); mail($mailto, $subject, $messageproper, &quot;From: \&quot;$vname\&quot; \nReply-To: \&quot;&quot;.ucwords($_POST[&#039;first_name&#039;]).&quot;\&quot; \nX-Mailer: PHP/&quot; . phpversion() ); } ?&gt;&lt;/code&gt;deseo cambiar el remitente ya q sale el nombre del host y yo quiero ponerle mi: from: EMPRESA</description> <content:encoded><![CDATA[<p>quiero cambiarle el remitente a este codigo send.php</p><p><code>&lt;?<br /> /************************<br /> * Variables que puedes cambiar<br /> *************************/</p><p>$mailto = &quot;emailto@send.com&quot;;<br /> $cc = &quot;&quot;;<br /> $bcc = &quot;&quot;;<br /> $subject = &quot;Formulario de contacto&quot;;<br /> $vname = &quot;Contacto web&quot;;<br /> $email = $_POST[&#039;email&#039;];</p><p>function validateEmail($email)<br /> {<br /> if(eregi(&#039;^[a-zA-Z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z]{2,4}(\.[a-zA-Z]{2,3})?(\.[a-zA-Z]{2,3})?$&#039;, $email))<br /> return true;<br /> else<br /> return false;<br /> }</p><p>if((strlen($_POST[&#039;name&#039;]) &lt; 1 ) || (strlen($email) &lt; 1 ) || (strlen($_POST[&#039;message&#039;]) &lt; 1 ) || validateEmail($email) == FALSE){<br /> $emailerror .= &#039;&#039;;<br /> if(strlen($_POST[&#039;name&#039;]) &lt; 1 ){<br /> $emailerror .= &#039;Enter name';<br /> }<br /> if(strlen($email) &lt; 1 ){<br /> $emailerror .= &#039;Enter email';<br /> }<br /> if(validateEmail($email) == FALSE) {<br /> $emailerror .= 'Enter valid email';<br /> }<br /> if(strlen($_POST['message']) &lt; 1 ){<br /> $emailerror .= &#039;Enter message';<br /> }<br /> } else {<br /> $emailerror .= "Your email has been sent successfully";<br /> // NOW SEND THE ENQUIRY<br /> $timestamp = date("F j, Y, g:ia");<br /> $messageproper ="\n\n" .<br /> "Name: " .<br /> ucwords($_POST['name']) .<br /> "\n" .<br /> "Email: " .<br /> ucwords($email) .<br /> "\n" .<br /> "Website: " .<br /> ucwords($_POST['website']) .<br /> "\n" .<br /> "Company: " .<br /> ucwords($_POST['company']) .<br /> "\n" .<br /> "Comments: " .<br /> $_POST['message'] .<br /> "\n" .<br /> "\n\n" ;</p><p> $messageproper = trim(stripslashes($messageproper));<br /> mail($mailto, $subject, $messageproper, "From: \"$vname\" \nReply-To: \"".ucwords($_POST['first_name'])."\" \nX-Mailer: PHP/" . phpversion() );<br /> }<br /> ?&gt;</code></p><p> deseo cambiar el remitente ya q sale el nombre del host y yo quiero ponerle mi: from: EMPRESA</p> ]]></content:encoded> </item> <item><title>By: mauro sanchez</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43553</link> <dc:creator>mauro sanchez</dc:creator> <pubDate>Thu, 10 Nov 2011 23:13:40 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43553</guid> <description>no me funciona para nada ... te queria pregunta como hacer una pagina un foro como este....si se puede saber aunque creo que tu vives de esto ....jajajajajaa</description> <content:encoded><![CDATA[<p>no me funciona para nada &#8230; te queria pregunta como hacer una pagina un foro como este&#8230;.si se puede saber aunque creo que tu vives de esto &#8230;.jajajajajaa</p> ]]></content:encoded> </item> <item><title>By: RAUL</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-43231</link> <dc:creator>RAUL</dc:creator> <pubDate>Thu, 27 Oct 2011 16:55:00 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-43231</guid> <description>Buenas Tardes, al pulsar el boton en mi web:on(release){ getURL(&quot;php-mail.php&quot;, &quot;_parent&quot;); }no se me abre el formulario, me aparece el codigo php...PORQUE??? Gracias.</description> <content:encoded><![CDATA[<p>Buenas Tardes, al pulsar el boton en mi web:</p><p>on(release){<br /> getURL(&#8220;php-mail.php&#8221;, &#8220;_parent&#8221;);<br /> }</p><p>no se me abre el formulario, me aparece el codigo php&#8230;PORQUE???<br /> Gracias.</p> ]]></content:encoded> </item> <item><title>By: fatima</title><link>http://blog.unijimpe.net/enviar-e-mail-con-php/comment-page-4/#comment-42648</link> <dc:creator>fatima</dc:creator> <pubDate>Thu, 14 Jul 2011 20:24:59 +0000</pubDate> <guid isPermaLink="false">http://blog.unijimpe.net/?p=5#comment-42648</guid> <description>Hola una pregunta necesito incluir el SMPT de mi provedor pero no se en donde colocarlo en tu codigo podrias ayudarme</description> <content:encoded><![CDATA[<p>Hola una pregunta necesito incluir el SMPT de mi provedor pero no se en donde colocarlo en tu codigo podrias ayudarme</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching using disk: basic

Served from: blog.unijimpe.net @ 2012-02-08 20:33:14 -->
