Tagged Questions
0
votes
1answer
8 views
Cannot receive emails from Debian server
I have an issue regarding debian server. The same code I uploaded on cloud server and the contact form (with php) is working properly and is sending email.
I tested exactly the same code in our ...
1
vote
0answers
27 views
I am having error in sending mail using Codeigniter email library
Here is my code in Controller
$this->load->library('email');
$config = Array(
'protocol' => 'smtp',
'smtp_host' => 'ssl://smtp.googlemail.com',
...
0
votes
1answer
10 views
Looking for a group email solution - need groups to be updated with php
We are currently using emails like [email protected] to reach a select group of our staff. But so far we were using email forwarders from cpanel. (Web interface, have to get them in and out one by ...
0
votes
1answer
21 views
Set “to” address in PHP Mailer
I am trying to set the "to" address for an email sent via an html form utilizing phpmailer. The end goal is to utilize a droplist to let the user select which person they are contacting depending on ...
0
votes
2answers
20 views
Email Validator Problems- Putting it all together
I'm very new to PHP coding.
I've done tons of research to try and help me. As you can imagine I've gotten tons of material for help. The problem is when I'm trying to put it all together.
...
0
votes
3answers
48 views
Mail sending in php
I have to file to send mail.
First one is html file.
mailhtml.php
<form action="mailsend.php" method="post">
<label for="name">Name:</label>
<input type="text" name="name" ...
2
votes
2answers
27 views
How to use php to read non-input related text from an HTML form?
I have a form that visitors to my site can use to sign up for a class.
The form is essentially:
<form method="post" action="registration.php">
<h1>Class Name</h1>
<input ...
0
votes
2answers
40 views
Sending a text message in localhost with PHP
So I'm trying to send a text message to my phone using PHP. I'm able to send a message to my email, but it won't send to my phone. I have exim4 installed if that helps. I'm somewhat of a beginner with ...
5
votes
1answer
43 views
spam email by using email library in codeignator
I am using CI library for email.
$this->load->library('email');
And my mail function is.
$this->email->clear();
$this->email->set_mailtype("html");
...
0
votes
1answer
44 views
PHP send email for Forgot Password
So I am building a localhost page, and it contains users, so I created a forgot password page to reset password if they forget, and to update the randomized password into the database.
This is the ...
0
votes
1answer
35 views
sent mail succed on my machine but failed the server using phpmailer
<?php
date_default_timezone_set('America/Toronto');
require_once('class.phpmailer.php');
//include("class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded
...
0
votes
0answers
35 views
getting error by trying to send email using php
I have this page
using an html code I get here.
And I'm getting a error in line 65 of the php code.. the error says
Notice: Use of undefined constant - assumed ' ' in
...
1
vote
0answers
43 views
Differentiating between sent and received mail
I am using the below code to can through my inbox:
$imap = imap_open("{imap.gmail.com:993/ssl}[Gmail]/ALL Mail", $yourEmail, $yourEmailPassword);
The thing is how to segregate between the sent ...
0
votes
1answer
18 views
Not allowing reply to a mail in CodeIgniter?
As of CodeIgniter's $this->email->reply_to('[email protected]', 'Your Name') function sets the reply-to address. If the information is not provided the information in the "from" function is used.
...
0
votes
1answer
38 views
How can I save a movie clip symbol in as3 as a PNG on my server?
I'm developing a website in flash for a company and it's going well so far. The website allows people to create custom railings. The owner of the company wants me to save out the demo picture that's ...
0
votes
0answers
18 views
Codeigniter Ion Auth password reset issue
I'm using Ion Auth with Codeigniter and am having issues sending and receiving emails with the password reset feature.
config/email.php
$config['protocol'] = 'sendmail';
$config['mailpath'] = ...
0
votes
2answers
14 views
Sending PHP mail from Windows server
I have a form on my page. When the user hits the Send button - it's supposed to send an email with the details he entered in the form. Up until recently the form was hosted on a Linux server and I had ...
0
votes
1answer
39 views
PHP - Not Sending Emails with Header Information
I am having a problem sending emails when I add header information.
However when I just remove the header parameter it works. What is wrong? Is it the code? Or some setting I need to change on the web ...
-1
votes
1answer
26 views
Trying to send mail in a localhost XAMPP Windows environment using PHP's mail() function? [closed]
...But I'm not getting anywhere fast. I've actually been building this website under a Mac environment with MAMP and it works perfectly, but now I need to hand it in to my teacher who's using XAMPP on ...
-2
votes
4answers
44 views
php email script doesn't work
I have this script:
<?php
$to1 = $_GET["number"];
$to2 = $_GET["at"];
$subject = $_GET["sub"];
$message = $_GET["message"];
$from = "[email protected]";
$headers = ...
0
votes
1answer
20 views
Tracking of email
Basically i want to make an app which will check that user has opened the sent mail or not
just like the script of "[http://www.readnotify.com][1]" like we have to just add
readnotify.com after the ...
-4
votes
0answers
23 views
Email form function and js alerts? [closed]
So i have a site I built with bootstrap. I have a contact form that I want to email me when the customer enters the info. if they dont enter the correct info I would like to have them prompted with a ...
3
votes
3answers
68 views
Do I need to sanitize user-inputted data, before sending it in an email [closed]
I have a form in which I accept name, email and message from a user. I do the validation for name, email and message and just send it using the mail() function.
If I was inputting the $name, $email ...
0
votes
0answers
26 views
php mail() is not sending mails when $headers reach certain length
My php mail() would always stop sending email when From: header reach certain length. Im using Cyrillic symbols in From: so i have to encode it in windows-1251 (thats the only encoding that seemed to ...
0
votes
1answer
17 views
Why does this form mail script NOT work on server running php4? [closed]
<?php
//http://css-tricks.com/snippets/php/send-email/
// from the form
$email = htmlentities($_POST['email']);
$first_name = htmlentities($_POST['first_name']);
$last_name = ...
0
votes
1answer
28 views
trying to send mysql info with php
I was wrestling with this a bit and could not get it figured out... I am using a mamp stack, I am trying to send a php email to multiple recipients, and having problems getting the database info sent ...
-1
votes
3answers
41 views
PHP confirmation code in html email [closed]
I send to the new users a confirmation code in an email:
$message.="http://www.------.com/confirmation.php?passkey=$confirm_code";
However, I made this email in html insted of being in php (I made ...
1
vote
3answers
41 views
How do I turn a PHP variable string to output HTML?
I am trying to create an autoresponder email and the content is a PHP variable. I want it to output HTML code and right now it's not.
//Example:
$respondmessage = " Hello $fullname,
We are ...
0
votes
1answer
12 views
Creating cPanel email accounts with fopen
I'm using the following code to create an email account and a email forward at the same time. I'm consfused as the email forward works every time (f2) and the email creation is only working roughly ...
0
votes
1answer
23 views
Can't connect to SMTP server using PHP Mailer but can with Gmail?
I am getting the following error from PHP Mailer when running a script in my local PC:
SMTP -> ERROR: Failed to connect to server: A connection attempt failed because the connected party did not ...
0
votes
1answer
33 views
Codeigniter email library not sending on localhost
I know that this is already multiple answered here, but all these answers did not helped me with my problem.
Because it is the simpliest way for testing, I use the mail protocol, and work on my local ...
0
votes
4answers
51 views
Send mail and redirect to another website
I need to send an email, and then redirect to another website.
I'm not that familiar with php and I can't get it to work.
Can somebody help?
code:
<?php
if (isset($email))
{
...
0
votes
2answers
41 views
Styling contact form results in an email
I am wondering how can i style an emailed contact form results. Meaning, when a person fills out my contact form, when the results come to me in an email, I wanted that results to come in a stylistic ...
2
votes
3answers
40 views
Email individual row data from mysql to individual users
HI i have 10 rows which contains user information with their id and email. a single user has more than one rows. now i want to send mails to all users which contains their rows data in a single mail
...
0
votes
1answer
45 views
Not getting emails from php code
The form and the PHP code are working fine, but the only problem I am having with this is that it will not send an email to me nor to the person signing up. Please if you could look at the codes to ...
0
votes
0answers
13 views
Bcc not working in combination with mail attachement
Can anybody tell me why the Bcc is not working? There is something I am doing wrong can't seam to figure it out. Also I would like to know if I can add multiple Bcc mail addresses in this way.
...
0
votes
1answer
37 views
PHP email not sending and not displaying contact form on firefox
Hello its bit confusing for me so just asking..
I have a contact us form setup on pop-up box ! Its working fine on google chrome but on Firefox it just show a shadow and don't display the pop-up ...
1
vote
2answers
20 views
Setting a name (alias) for codeigniter's email recipient
In the user manual of Codeigniter's Email Library, under Email Function Reference, wer see $this->email->from() with two parameters: an email address as well as as 'Your Name' that is set as the ...
0
votes
1answer
12 views
Extract link from IMAP message
i need to extract an URL from an IMAP message, so far i have been able to extract the message in plain text but not the link, i could really use some help here. Here's what i got so far
$section = ...
0
votes
2answers
78 views
check if email already exists in database jquery +php
Hy I'm trying to validate the email adress in a registration form. I want to check if the adress exists in the database;
i have the folowing function:
function validateEmailRepeat(){
// ...
1
vote
2answers
22 views
Cause an email to be sent when a file changes on my server
I have a not_found.php file that takes care of 404 errors. Whenever that file is called by the server, it creates a log file (called 404.txt) in the / directory. The problem I have is I never know ...
1
vote
1answer
34 views
Display checkbox values in email
On this site Site there are 4 checkboxes. At the moment the checkbox values are not shown in email.
What has to be done to get the checkbox values in the email?
This is the whole code kontakt.php ...
0
votes
0answers
30 views
Implode checkbox values with this operator in php
In this contact form Website Link there are four checkboxes. How needs to be integrated the implode(', ', $interessen); in the code part $message .= "<tr><td><strong>Interessiert ...
1
vote
1answer
22 views
Using mail() to sent UTF8 e-mail
I'm trying to send an e-mail with PHP, including multi-language characters. The whole site (html header, php header) are set to UTF8 aswell as the form charset.
To PHP code I have now is:
$to = ...
3
votes
1answer
50 views
Read Email and save data to database in PHP
I have a requirement, according to that I need to read mail(which will be in specified format). The email would be basically in a format it includes some fields information like:
Name: xyz
Zip: 33402
...
0
votes
3answers
42 views
PHP email display error
Please anyone refer this code and correct it for me.
I have used this code in another webpage it is working, but now this script is not sending the message, it show my custom error message.
Could ...
0
votes
1answer
43 views
How do I get my external send mail php file to check if the captcha is correct
I have an email form on a website that sends the form data to an external php file (contact-form-handler.php) I have recently tried to add a captcha however I have been unsuccessful in getting the ...
0
votes
3answers
70 views
validation php not working?
The following is the email verification code for my site.
The verification url sent to the user's email is as follows:
http://www.mywebsite.com/valid.php?confr=2774405&userid=2
Extra notes :
...
0
votes
3answers
23 views
Special characters in PHP mail
I am having trouble with my PHP mail form, and the use of danish letters Æ,Ø and Å. They appear as rubbish when recieved by email.
I tried the function find and replace, but I simply cannot get it to ...
2
votes
2answers
37 views
PHP + mail server
I have a web site hosted with a cPanel web host.
I am looking to have a PHP script to run every time I get a new email to [email protected]. The script that I was hoping run will update some vars on a sql ...