48 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for larry29936

My contact form starts with: <form id="form1" method="POST" action="mail.php"> I'd like to replace the last line in my contact form: <button type="submit" value="Send" style="margin-top:15px; margin-left: 500px; text-align: center;">Send Email</button> with one that contains <img src="images/button_send-email.png" alt="Email"> but have no idea what it should look like. I tried <a href="mail.php"><img src="images/button_read-the-file.png" …

Member Avatar for Dani
0
700
Member Avatar for Gideon_1

I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the mail parameters. { "to":"gideonappoh@gmail.com", "subject":"Testing Reviewer's Page", "body": "Hello Gideon", "headers":"oksana.v@scopicsoftware.com" } I then decode them and pass them through …

Member Avatar for Gideon_1
0
1K
Member Avatar for ss125

I have recently configured my online outlook account with my gmail id. All my configuration were done. But after configuration outlook is downloading all my previous mails. I want to stop the unnecesary download of old mails. I want to configure it such that it should only download/sync today's mail …

Member Avatar for ss125
0
264
Member Avatar for cool_zephyr

I was trying to send an email using javaMail API using my own smtp server to gmail/hotmail/etc..I put the following code to specify smtp server's settings Properties props = new Properties(); props.put("mail.smtp.auth", "true"); props.put("mail.smtp.host", "my smtp host"); props.put("mail.smtp.port", "my smtp host's port"); Session session = Session.getInstance(props, new javax.mail.Authenticator() { protected …

Member Avatar for cool_zephyr
0
260
Member Avatar for Tinnin

Just a curiosity really. I can't find a reason for it anywhere. Why doesn't php mail() mailto allow you to use a semicolon to separate the email addresses?

Member Avatar for cereal
0
916
Member Avatar for MasterHacker110

After finding out that php need to be run through a server and not as a normal .html file, I need to send an email to the "person" to make an appointment. Here is my code: <?php echo "<form method='post' action='mailform.php'> Email: <input name='email' type='text'><br> Subject: <input name='subject' type='text'><br> Message:<br> …

Member Avatar for MasterHacker110
0
301
Member Avatar for delta_frost

I hate to sound redundant,but can anyone point out step by step how to configure my localhost WAMP server installation to send e-mail.I do have a GMail a/c. It would be highly appreciated if anyone explained every step of the process.Tried to configure PEAR,PHPMailer,sendmail but with no luck.

Member Avatar for delta_frost
0
204
Member Avatar for andymcr

Hi everyone I'm new here and posting because I have a problem with a PHP script I'm trying to write. I'm testing it as it goes along, but having a problem. I want to select certain people from my database, and send each of them an e-mail. To test, I …

Member Avatar for pixelsoul
0
389
Member Avatar for azgold472

I have a reservation page at [Click Here](http://www.orlandosuvandtowncar.com/reservations/Reservations.php) I get the following error when submitting the form to email Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/orlandos/public_html/reservations/res1.php on line 55 Below is that coding any help would be great. the server is running php 5.2.17. <?php require_once "Mail.php"; // EDIT …

Member Avatar for Webville312
0
276
Member Avatar for shaun.b

Just wondering if anyone knows how to not save a document after creation when using Microsoft.Office.Interop.Word. Basically i am using mail merge to print off a report from c#, the document get made, values are passed to it no problem and i can then print it without any issues, however, …

Member Avatar for shaun.b
0
1K
Member Avatar for AARTI SHRIVAS

<html> <head> <title>PHPMailer - SMTP (Gmail) authenrication</title> </head> <body> <?php require_once('class.phpmailer.php'); $mail = new PHPMailer(false); // the true param means it will throw exceptions on errors, which we need to catch // - - - - - - - - - Email Configuration - - - - - - - …

Member Avatar for LastMitch
0
5K
Member Avatar for AARTI SHRIVAS

few days before my phpmailer function works fine but now it gives me this error The following From address failed: mona18shri@gmail.com Mailer Error: The following From address failed: mona18shri@gmail.com SMTP server error: 5.5.1 Authentication Required. Learn more at 530 5.5.1 http://support.google.com/mail/bin/answer.py?answer=14257 d17sm9100541obu.0 - gsmtp what can i do for this …

Member Avatar for AARTI SHRIVAS
0
456
Member Avatar for neha05

Invalid address: Invalid address: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.

Member Avatar for neha05
0
210
Member Avatar for krunal1986

hi all, i am sending mail through exchange server version Exchange2010. below is my code: static void Main() { try { string owausername = string.Empty; string owapassword = string.Empty; string mailFrom; string mailTo; string mailSub; string mailBody; ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack; ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010); EmailMessage email = new EmailMessage(service); …

Member Avatar for krunal1986
0
649
Member Avatar for arishy

From the script below, the commented part of the script is to prevent the script from hanging. The script as is , is working once I uncomment the openning of the file to retieve the body of the email, the script hang. use Email::Send; use Email::Send::Gmail; use Email::Simple::Creator; # open …

Member Avatar for arishy
0
328
Member Avatar for joseph.akinadewo

Can someone help me with this php script for form processing. I use the script for processing my contact form, but I could not received a reply from my contacts. instead whosever contact me, the system returns back to me the followings thereby making it impossible for me to actually …

Member Avatar for joseph.akinadewo
0
322
Member Avatar for vizz

I have 12 field form One field is file (How to validate for **.doc**, **.docx**, **.pdf**) How to send all information and file as email? I found complicated codes. Can anybody help with simple one?

Member Avatar for vizz
0
151
Member Avatar for momonq1990

how can i send mail with working .gif, .png and background color using mail()function. what i need to set? i have $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; pls help what i need to do :(

Member Avatar for momonq1990
0
183
Member Avatar for PhilEaton

Hi! I recently created a website that has a contact form that sends an email with the PHP Mailer class. I had to use my gmail account because I cannot get my LAMP server's SMTP protocol working... In my mail.php file, I display the password and account quite openly as …

Member Avatar for PhilEaton
0
3K
Member Avatar for PhilEaton

Here is my code for this page: phileaton.est-a-la-masion.com/Day Care/contact.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META NAME="description" CONTENT="Looking for an affordable daycare for your child? Are you worried that your precious one is not learning basic skills? If so, this …

Member Avatar for PhilEaton
0
205
Member Avatar for PhilEaton

Here is the code I have in contact.php: <?php mail('philovesdogs@gmail.com','sdf','sadfsad'); echo 'Ok'; ?> I put the echo in just to make sure that PHP was working on the page. I uploaded the page to my LAMP server and opened the page. I saw 'ok'. I checked my email however (and …

Member Avatar for PhilEaton
0
140
Member Avatar for rayidi

We all know how to open a mailbox using `imap_open`. Here the problem is i'm creating a maill system here. I'm not able to find to create a mail account with `imap/pop3` in `php`. Is it is possible ? Assume suppose my domain is www.studentmug.com. I want to create a …

Member Avatar for ckchaudhary
0
335
Member Avatar for EvolutionFallen

I have some web forms that contain several normal fields, and at least one upload field each. Upon submission, the contents of the form are e-mailed to the recipient. When I fill out the form *without* including a file for upload, it works correctly. I get an e-mail that, when …

Member Avatar for EvolutionFallen
0
200
Member Avatar for klemme

I have this function, which sends an email to the user and confirms an order. I cant figure out why I cant get to display the image IN the email, at the very top. I have tried with: `"Content-Disposition: attachment; filename=\"mail-top-img.gif\""` And `"Content-Disposition: inline; filename=\"mail-top-img.gif\""` Both sends the mail as …

Member Avatar for klemme
0
188
Member Avatar for nyancat

Hello, I want to add another receiver to this contact form, he has to be bcc, and not shown as receiver but still receiving the message from the contact form: [code] <?php if(isset($_POST['submit'])) { error_reporting(E_NOTICE); function valid_email($str) { return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $str)) ? FALSE : TRUE; } if($_POST['name']!='' && …

Member Avatar for pritaeas
0
146
Member Avatar for navp

I am making a html form on a website and then that form should be forwarded to an email. I am having a hard time with this. Dead line is near and i do not know what to do. Below is the code: PHP code: [CODE] <? if ($_POST){ if …

Member Avatar for navp
0
222
Member Avatar for binoy.mathew

Hi, I am building a Contact Us Email Form. My email sending part is working fine. I just want to confirm one thing with experienced programmers. Once I click the send message button, I am calling a function to send the mail. Then I get the message saying the mail …

Member Avatar for stbuchok
0
148
Member Avatar for devinodaniel

I'm trying to send a confirmation email to the person who submitted this "ticket" but it's not sending. I know the right info is there it just seems like I'm putting something in the wrong spot. Anyone help me out? [CODE]<?php include("database.php"); $today = date("M d Y"); $sql="INSERT INTO info …

Member Avatar for dineshsjce
0
184
Member Avatar for klemme

Hi all, I have this mail which works fine: But how can I pass the html tags, as html tags so it shows bold in my inbox? As it is now, i recieve the tags as normal letters.. This is what I have: [CODE] if(empty($error_msg)) { // If validated -> …

Member Avatar for leakbali
0
142
Member Avatar for subhra44

I am trying to create feedback form and want to send the content to an email id using the mail(). What should I suppose to do for that? I tried with some code but it's not working.. Here is the code [CODE] <html> <body> <?php if (isset($_REQUEST['email'])) //if "email" is …

Member Avatar for Pro2000
0
170

The End.