Tagged Questions
0
votes
0answers
21 views
PHP Testing an object property
I need to test an object property for equivalence to a string.
I'm using the php imap functions to cycle through the 10 most recent emails in a gmail account, I want to filter them so I'm only ...
-3
votes
3answers
52 views
Send 2 e-mails with mail()
I'm trying to send 2 e-mails to different addresses and different subjects.
$to = '[email protected]';
$from = $_POST['email'];
$subject = 'Contact - '.$_POST['subject'];
...
0
votes
0answers
18 views
Drupal 7 doesnt send attachment, I get an mail but without attachment
I have a problem with sending mail with attachment in Drupal 7...
I tried usual module, I tried mimemail, I tried Zend Framework (or somthing like that)... but it just doesn't work... I get an email ...
0
votes
3answers
37 views
My PHP mail form shows up empty, no id info
my php mail form comes up empty in my mailbox, for some reason it doesn't gather the textfield information typed in in the HTML.
This is how it shows up in my mailbox:
Email:
First Name:
Last ...
0
votes
0answers
22 views
Mailing script not working
I found a guide on how to create a sweet contact form, unfortunately it doesn't work.
http://www.hongkiat.com/blog/ajax-html5-css3-contact-form-tutorial/
So this is my form:`
Your ...
0
votes
0answers
17 views
Email not sent using Codeigniter 2
In my server email is sent if we use simple mail() function but it's not sent by using the following codes of Codeigniter.
$this->load->library('email');
...
0
votes
1answer
17 views
PHPMailer, DKIM, and SPF set - Emails still arriving in Junk (PHP)
I am trying to send an activation email from my website to the user. No matter what I do, the email is going straight to the junk folder.
I have logged into my cPanel, gone to E-Mail Authentication ...
1
vote
2answers
45 views
PHP/HTML Code Renders as Text in Email: Any Insight?
I've tried many header changes to no avail.
Could it be the email server? Or am I missing something crucial?
I would like to see more than the code rendered as text in the resultant email.
...
0
votes
2answers
24 views
PHPMailer $mail->From headers not working with gmail
I'm using the following code to send a mail after a form submission with the PHP mailer class https://github.com/Synchro/PHPMailer. The mail sends and is received successfully. The only thing that ...
0
votes
1answer
38 views
Most portable mail option? [closed]
I have developed an application which will require reliable email sending. I understand I can just install a mail server or use something like PHPMailer, but what would be the best way if this ...
1
vote
4answers
44 views
jQuery email has no text/submits twice
I am trying to simply send an email to a hardcoded email address as a function of a report bug button. However, the text I try to input to the php file that sends the email wont transmit through, and ...
0
votes
2answers
30 views
How can I email this shopping cart array?
I can't figure out how to email the entire shopping cart array. I tried using the print_r function, but I only get one item in the result.
Any help would be greatly appreciated.
<?php ...
0
votes
1answer
32 views
When receiving email's I only get my email address as “sent from.” although it was sent from another email address. What should I add or change?
So I'm using this code for php mail and I keep getting MY email address rather than the actualy senders email, when I test it on my website's contact form. Any help? By the way, I use my email in the ...
-2
votes
1answer
30 views
mailto in PHP without a button click [closed]
Is there a way to cause an action similar to clicking a mailto link from withing PHP?
I would like it to use the local email client (e.g., outlook) to build and send several emails within a PHP ...
1
vote
4answers
49 views
mail php $from not working
I'm trying to send a simple mail script from my website to my hotmail account but it keeps coming up as spam (cgi mailer). I know it has something to do with the header well the from part but cant ...
0
votes
1answer
27 views
Base64 encoding Email _ Displaying as text not html
Hi this is my first time trying to use base64 encoding.
Everything seems to be fine with what I am trying to do, except when I send an email, it gives me all the tags (plain text) in the email and ...
0
votes
1answer
15 views
how to delete emails from cpanel using php fopen
I have my domains in one hosting account and emails in another. I need to delete emails using php code. Using fopen, how can i delete emails from one hosting account whose domains are in another.
0
votes
5answers
37 views
Having trouble getting PHP file to interact properly with JQuery when trying to send email
I have a page I wrote mostly using JQuery and at the end I want to send an email with the results from the page. I have this code in my script:
index.html
var myUrl = "http://mywebsite/mail.php";
...
1
vote
1answer
42 views
How to successfully send an email in a contact form through CodeIgniter?
I have set up my controller and my contact form all set up. But when I click "Submit" on my contact page, I receive no errors but I receive no email. Can anyone help me figure out why I am not ...
0
votes
0answers
24 views
Create and send an e-mail from a form + keep javascript filters
On the contact page, I do have a form that will allow users to send e-mails to the company. To control each field, I had a script to the form and some css effects.
This is working perfectly.
Here ...
2
votes
0answers
46 views
send html email and receive it as text
I have this php code to send an HTML email :
function sendEmail($to,$from,$subject,$body) {
$To = $to;
$Subject = $subject;
$Message = $body;
$from = "Do Not Reply";
$Headers = ...
-1
votes
1answer
38 views
Secure PHP Email & Styling [closed]
i've written a short PHP email script for a contact form and it works perfectly fine. I wanted some help securing the form and a point in the right direction on how I can style the email it sends. ...
0
votes
2answers
70 views
Can entire emails be composed and sent with a PHP command?
I am following this guide:
http://www.w3schools.com/php/php_mail.asp
So by following this guide can I really send an email to myself ([email protected]) by opening this page I called "email.php" ...
0
votes
1answer
27 views
PHP Email Subscribe form - Not sending mail - Checked php.ini settings already?
just a little help with this PHP email form, I have checked other questions on here but have found no solution yet.
I have a very simple PHP email subscribe form on my webpage, however it doesn't ...
-1
votes
1answer
31 views
Using php to send information
I have a simple password send that will send them their password when they enter their email but the only problem is that I am getting an error when I load the page that says
Failed to add ...
0
votes
0answers
20 views
delay in sending emails using Gmail SMTP in AWS using php mailerclass
Our website is hosted with AWS and we are using Google Apps for sending emails. However, there is a delay of 3 to 4 seconds to send the email.
We are using the php mailerclass for the same. I would ...
0
votes
2answers
37 views
Can not set mail header in PHP
The Content type is handle as a part of message , how to fix that ? thanks
From - Wed Jun 05 12:29:59 2013
X-Account-Key: account1
X-UIDL: 50933ddb0000053d
X-Mozilla-Status: 0001
X-Mozilla-Status2: ...
0
votes
0answers
21 views
Extra Variable Printing in Email Body [closed]
I have a registration form that once a user signs up, I shoot out a simple text email. For some reason the $email variable is getting printed into the body twice. Once when it is called and again ...
-2
votes
0answers
19 views
file does not send as an attachment or save in my upload folder [closed]
My server has been having problems with php mailer so I am now using this code but I can't seem to get this email's upload image as an attachment or saved in the "uploads/" folder either.
This is the ...
0
votes
0answers
16 views
Icon issue with attached email in php
I am creating csv file at runtime and want to send it via email.File is created sucessfully,email is send but the attachment is unknown file with just blank icon.
Here is what i tried
...
-2
votes
1answer
40 views
Best mail service for sending email to the list of email addresses [closed]
I am working on a project where a lot of emails are sent on some actions. For example when I create a new article all my followers should receive email with some personalised text saying:
"User ...
1
vote
1answer
35 views
sending email codeigniter issue
I am trying to send emails to huge number of users (11000) and I can't send except 300 email per hour so I made that code:
$query_users = $this->db->query('SELECT * FROM `users_list` ');
...
1
vote
0answers
13 views
Send multipart/alternative mail with Swift Mailer
I can't send multipart/alternative with Swift Mailer (I haven't found any reference, so maybe I can't use this function), this is my code:
$file[1]=html_entity_decode($file[1]);
//Prepare plain/html ...
0
votes
0answers
22 views
How to parse mails from ms exchange server in symfony2?
Is there any bundle in symfony2 that supports parsing mails from ms exchange server. I am trying for quite some time, couldnt get any infm related to exchange server.
0
votes
4answers
59 views
why php mail function not work in xampp
I have problem i use xampp . i want check mail form but i can't see any result .
i config Mercury/32 like this tutorial in this site :
...
3
votes
4answers
45 views
Capture HTML Form Arrays in PHP Email
I have an HTML form with a few arrays as defined by their name tags having [] after them. I am trying to send all of those array values in a single PHP email. I know var_dump will show those array ...
0
votes
1answer
23 views
Maintainable automatic mail system
Rather an advanced question.
The application of our company sends a number of emails to our users. Some are send daily, some weekly, ... The emails are in "standard" company format and contain text ...
0
votes
0answers
23 views
imap_open() does not work in the server
I am devoloping an email reading program. I was developing this program using wamp server. it worked in wamp server. But when i upload it into the server,
it doesn't work.
In my program imap_open() ...
-2
votes
3answers
45 views
is there a more practical way to send a very big form in php? [closed]
Client has a very large form on his site (about 40 fields) which should be sent to his mail once the user clicks submit.
I was thinking on doing it like this:
<?
$name = $_REQUEST['name'] ;
...
-1
votes
0answers
29 views
How to create an email newsletter which sends different emails based on website page [closed]
Many of you must be knowing about couponscript.org's script.
If not, then that script allows us to create different pages based on the merchant site. Like if we have pepperfry.com, and our site is ...
-4
votes
2answers
42 views
php getting error while sending email [closed]
i am trying to send email through php coding, but getting following error
Warning: require_once(Mail.php): failed to open stream: No such file or directory in ...
0
votes
1answer
27 views
PHP Searching email database for emailaddress and body contents based on arbitrary search query
I am working on an email application. Here is the background:
Emailaddresses are stored in an addresses table
Message contents are stored in a message_contents table
There is a search bar on the ...
0
votes
1answer
29 views
Combining two tables in SQL
I need to combine data in two tables using MySQL. Here is my code, and then I'll tell you what I've tried:
<?php
error_reporting(E_ALL ^ E_NOTICE);
session_start();
?>
<?php
if ...
0
votes
1answer
41 views
Display attached image in email body
I have a script that sends e-mails using phpmailer() with an attached image that it's also displayed in the e-mail body. The receivers that use Outlook or some mobile clients have reported that they ...
0
votes
1answer
23 views
How to include An UNSUBSCRIBE link in newsletter sent to multiple users using PHPMailer?
How to include An UNSUBSCRIBE link in newsletter sent to multiple users using PHPMailer?
Like mydomain/unsubscribe.php?email=useremail.
please help.
Thanks in advance.
-1
votes
0answers
69 views
PHP will not send email? [closed]
I have the PHP script ready to send an email and i get the echo as though $_POST['Submit'] is true.
I never recieve the email though, i am trying to send it to an office 365 mail server.
...
0
votes
2answers
54 views
Redirect when i submit?
Every time i click the submit button the page re-directs.
how can i set it up so that the page does not re-direct and it runs the server side code staying on the current page and echoing above my ...
-2
votes
0answers
32 views
Logging in to mail account [closed]
I'm unable to login to my account. This is on localhost:3306, and I am not sure what the problem is. I've narrowed it down to the following code. Could you guys help me out? Here is my code:
...
1
vote
1answer
25 views
php mail() cannot connect, but telnet works
I am trying to use the php mail() function. I am using a remote mail server w/ port 25, which I can telnet to and it connects just fine. I have configured my php.ini with these settings and have also ...
1
vote
2answers
53 views
How To Create A Two-Step Form That Can Submit If User Doesn't Complete Step Two?
I'd like to create a two step email signup form, which will submit to Aweber (or any company where this isn't a standard feature).
The idea is to first ask for the minimum info necessary - name, ...