Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4115942
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:38:48+00:00 2026-05-20T22:38:48+00:00

I would like to use Email Yak to send and receive emails with PHP.

  • 0

I would like to use Email Yak to send and receive emails with PHP. Is this posssible? If so how would I go about it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T22:38:49+00:00Added an answer on May 20, 2026 at 10:38 pm

    I am not sure why you would want to do this from PHP, but take a look at the ‘Send Email’ manual page at the Email Yak project.

    You will need to use PHPs curl extension to make the HTTP requests with the appropriate headers and PHPs native json_encode() function to serialise the data you are sending.

    A really simple curl example from jonasjohn.de to get you going:

    function curl_download($Url){

    // is cURL installed yet?
    if (!function_exists('curl_init')){
        die('Sorry cURL is not installed!');
    }
    
    // OK cool - then let's create a new cURL resource handle
    $ch = curl_init();
    
    // Now set some options (most are optional)
    
    // Set URL to download
    curl_setopt($ch, CURLOPT_URL, $Url);
    
    // Set a referer
    curl_setopt($ch, CURLOPT_REFERER, "http://www.example.org/yay.htm");
    
    // User agent
    curl_setopt($ch, CURLOPT_USERAGENT, "MozillaXYZ/1.0");
    
    // Include header in result? (0 = yes, 1 = no)
    curl_setopt($ch, CURLOPT_HEADER, 0);
    
    // Should cURL return or print out the data? (true = return, false =
    

    print)
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

    // Timeout in seconds
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    
    // Download the given URL, and return output
    $output = curl_exec($ch);
    
    // Close the cURL resource, and free system resources
    curl_close($ch);
    
    return $output; 
    

    }

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to use Ruby Net::SMTP to send email. The routine send_message( msgstr,
I would like to use my laptop as a web development (PHP, Python, etc.)
We would like to use Selenium to test email content generated from our website.
I would like to use an xml file to create a html email. I
The idea is before i send the mail , I would like to use
I would like to use AWS and especially Amazon Simple Email Service (SES) in
I am using C#.NET 4.0 and would like to send an email to an
In User.class.php i have: $this->setCode(sha1($this->getPassword())); This is ok. In register form i would like
I would like to use a layout for the emails I'm sending out. I'm
I would like to use Exchange e-mail groups as an authentication scheme for an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.