PhpMailer taking too long to send email with remote server [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 days ago.
Improve this question
I'm using PHP mailer to send email to my users for my webapp.
However the library is taking too much time to send email with a remote mail server.
I tried to replace the domain name by the server's ip address to reduce the time needed to resolve the domain name but it doesn't change anything.
Thank you for your help
I'm expecting that phpmailer takes not so much time to send mail.

Related

Can I Send Emails On Behalf Of My Clients? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
i am developing an application in which i have to send emails on behalf of my clients
can we use any service like aws ses or vero
if we use php mail function it will send mail in spam due to change in from emails
after a lots of research i got to know about aws ses reply to option .
any other better approach for this ?
There are many 3rd party options such as https://mandrillapp.com that allow you to send emails via their API.

Php web app and reply to email to call a function [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm developing a web app in php using codeignitor. I want to implement "reply to this email with approved in email body to update the app." feature.
Nowadays wen web apps send email for approvals, we can directly reply to email so the app will get updated once you send the reply. How does this feature implemented? I searched the web couldn't get any clues.
You can create a script polling the inbox of a specific email address and approving emails it got answer from. You would then need to set up cron jobs to run the script periodically.

PHP mail - from argument [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to php, today I learned to use php mail and I'm kinda confused. How come I can write something like:
mail("example#example.com",$subject,$message,"From: $from\n")
and then the reciever sees in the from field whatever I put in $from? I could write an address of any institution/company/etc there and the reciever would think that it's legit email.
Isn't that totally insecure? What's the catch?
The from address is sent in the message in the message header.
A SPF (Sender Policy Framework) on the sending domain can be used to verify that mail has come from its said source.
If received mail does not comply with the SPF appropriate action on the receivers mail server may be taken such as moving the message into the spam folder or rejecting it entirely.

Auto Email sending [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have been making a website for a client and he has requested two things. The first is to send an email when a job is assigned to a users accounts and the second is to enable a user to recover a lost password for a the user via an automated email. The website has been coded using HTML5 CSS PHP and SQL for the database back end.
I am unsure of how to set up this function to send this automated email
any help would be greatly appreciated
Thank You
Did you google it?
Use the mail function. http://php.net/manual/en/function.mail.php
Im using phpmailer for that job. :-)
http://phpmailer.worxware.com/

how can I modify a gmail account to forward an email that comes in with additional parameters? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Say my gmail account gets an email, how can I make it so that any email that comes to my gmail account automatically forwards to another email "bob#gmail.com" with ADDITIONAL parameters in the body of the email? Do I have to use a php script with IMAP or can I do this with gmail alone?
The only way I know to do this reliably is through code. So SMTP/IMAP to send & receive. In Java you can use the JavaMail api. You'll need to find an equivalent package for PHP.

Categories