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 3281176
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:47:13+00:00 2026-05-17T19:47:13+00:00

http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php That’s a link to the class. How can I set the smtp server?

  • 0

http://github.com/NeilCrosby/multi-level-vcards/blob/master/via-email/geekMail-1.0.php

That’s a link to the class. How can I set the smtp server?

My current code looks like:

require_once( 'assetform/geekMail-1.0.php' );
$geekMail = new geekMail();
$geekMail->setMailType('html');
$geekMail->from('xx@gmail.com', 'no-reply');
$geekMail->to('xx@gmail.com');
$geekMail->subject('Request');
$geekMail->message('this is a test email.');
$geekMail->attach($path.'1287448945.pdf');
  • 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-17T19:47:13+00:00Added an answer on May 17, 2026 at 7:47 pm

    Looking at the code of that class, there is no public setter for the $_smtpHost variable. You will either need to add one, or you can modifiy the geekMail-1.0.php file and change line 105 to contain your smtp server.

    You will also need to make a public setProtocol method, or change $_protocol on line 97 from ‘mail’ to ‘smtp’. This variable is being used to tell the class which protocol to use.

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

Sidebar

Related Questions

I am suspecting in file http://github.com/tkyk/jquery-history-plugin/blob/master/samples/ajax/ajax.js line 13 and 14 load(url); $.history.load(url); in Firefox,
From http://github.com/diaspora/diaspora/blob/master/spec/models/profile_spec.rb describe Profile do before do @person = Factory.build(:person) end describe 'requirements' do
I've found this: function: http://github.com/timburks/NuMongoDB/blob/master/src/bson.c#L128 bytes: http://github.com/timburks/NuMongoDB/blob/master/src/platform_hacks.h#L55 struct: http://github.com/timburks/NuMongoDB/blob/master/src/bson.h#L70 But how exactly would I
I have a php application ( http://github.com/tchalvak/ninjawars ), essentially a php-based webgame that I
There exists the multisite plugin ( http://github.com/dasil003/rails-multisite/tree/master ) that allows for multiple view folders
I installed the exception notification plugin from http://github.com/rails/exception_notification/tree/master I can confirm that my ActionMailer
I was reading http://github.github.com/github-flavored-markdown/ I would like to implement that Newline modification in PHP
Consider the Category entity and its CategoryTranslation entity from : http://github.com/l3pp4rd/DoctrineExtensions/blob/master/doc/translatable.md#personal-translations I want to
http://github.com/uswaretech/Django-Socialauth/tree/master/socialauth/ I'm a bit confused on how I should use this. Of course, I
Now that http://github.com/why/hpricot/wikis/home no longer exists.

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.