Story highlights The figures include $26 million raked in via online fundraising

Trump personally contributed $3.8 million to his campaign

Washington (CNN) Donald Trump's campaign on Wednesday announced it raised $51 million since late May, a sign that his first major fundraising foray has proved moderately successful.

The haul is likely to calm some fears that Trump will be unable to compete financially with Hillary Clinton, who has spent tens of millions of dollars on ads while Trump raised his first dollars. But Trump still starts in a deep hole compared to her -- he had only $1.3 million on hand as of June 1 -- and the new figures nevertheless reveal that he will be substantially dependent on the Republican National Committee.

Clinton's campaign announced last week it had raised $68 million in June for her campaign and joint fundraising committees. But unlike Trump, most of that cash went to her official campaign, giving her more control over how to spend it.

Trump raised $26 million via small-dollar fundraising, and $25 million from 22 fundraisers for his joint fundraising committee, the campaign said. The lion's share of the online money will go to Trump's official campaign, and a heavy majority of the joint committee cash will head to the RNC.

The campaign did not specify how much would go to each group, or how much was raised in June as opposed to the last week of May. The RNC spends its cash not purely on presidential politics -- as Trump's campaign would -- but rather on helping the entire Republican ballot.

Read More